-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
82 lines (74 loc) · 1.64 KB
/
pyproject.toml
File metadata and controls
82 lines (74 loc) · 1.64 KB
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = ["pyrception"]
[project]
authors = [{ name = "Alexander Hadjiivanov" }]
name = "pyrception"
version = "0.3.4post2"
requires-python = ">= 3.11"
dependencies = [
"av",
"bokeh",
"loguru",
"matplotlib",
"moviepy",
"numpy",
"omegaconf",
"platformdirs",
"scikit-image",
"scipy",
"tqdm",
]
dynamic = ["readme"]
[tool.setuptools.dynamic]
readme = { file = ["readme.md"], content-type = "text/markdown" }
[dependency-groups]
cli = ["cloup"]
events = ["faery", "event-camera-drivers"]
dev = ["black", "py-spy", "pytest"]
torch = ["torch"]
ipy = ["ipykernel", "ipywidgets"]
docs = [
"mkdocs",
"mike",
"mkdocs-jupyter",
"mkdocs-material",
"mkdocstrings[python]",
"mkdocs-macros-plugin",
{ include-group = "ipy" },
]
all = [
{ include-group = "cli" },
{ include-group = "events" },
{ include-group = "dev" },
{ include-group = "torch" },
{ include-group = "ipy" },
{ include-group = "docs" },
]
[project.scripts]
pyrception = "pyrception.gui.main:run"
[tool.ruff.format]
indent-style = "space"
skip-magic-trailing-comma = true
line-ending = "auto"
docstring-code-format = false
docstring-code-line-length = "dynamic"
[tool.ruff.lint.isort]
from-first = false
force-single-line = true
force-sort-within-sections = true
length-sort = true
lines-after-imports = 1
order-by-type = true
forced-separate = [
"future",
"typing",
"standard-library",
"third-party",
"first-party",
"local-folder",
"pyrception",
]
relative-imports-order = "closest-to-furthest"