-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
63 lines (53 loc) · 1.34 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
[build-system]
requires = [ "setuptools>=64" ]
build-backend = "setuptools.build_meta"
[project]
name = "project_extraction"
version = "0.5.3"
description = "Custom extractors for satellite tasks"
dynamic = [ "readme" ]
keywords = [ "IBL", "neuro-science" ]
requires-python = "~=3.10"
license = { file = "LICENSE" }
[project.optional-dependencies]
passiveVideo = [ "python-vlc" ]
[tool.setuptools]
include-package-data = true
[tool.setuptools.dynamic]
readme = { file = "README.md", content-type = "text/markdown" }
[tool.setuptools.packages]
find = {}
[tool.ruff]
ignore = [
"PLR0912", # Too many branches
"PLR0915", # Too many statements
"PLR2004", # Magic value used in comparison, consider replacing with a constant variable
]
exclude = [
".mypy_cache",
"dist",
"docs",
"iblrig/gui/*_rc.py",
"iblrig/gui/ui_*.py",
"venv",
]
indent-width = 4
line-length = 130
target-version = "py310"
[tool.ruff.lint]
select = [
"B", # flake8-bugbear
"E", # pycodestyle
"F", # Pyflakes
"I", # isort
"N", # pep8-naming
"PL", # pylint
"SIM", # flake8-simplify
"UP", # pyupgrade
]
[tool.ruff.format]
quote-style = "single"
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ruff.lint.isort]
known-first-party = [ "ibl*", "one*", "pybpod*" ]