-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
108 lines (98 loc) · 2.44 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "unitrack"
description = "Toolkit for object tracking in computer vision applications."
readme = "README.md"
requires-python = ">=3.12"
keywords = [
"ai",
"computer vision",
"deep learning",
]
authors = [{ name = "Kurt Stolle", email = "k.h.w.stolle@gmail.com" }]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
]
dependencies = ["unipercept"]
dynamic = ["version"]
[tool.setuptools.dynamic]
version = { attr = "unitrack.__version__" }
[project.entry-points.'unipercept.configs']
unitrack = "unitrack.configs"
[tool.setuptools.packages.find]
where = ["sources"]
include = ["unitrack"]
namespaces = true
[project.optional-dependencies]
dev = [
"bandit[toml]",
"check-manifest",
"ruff",
"pre-commit",
"pygrep",
"isort >= 5.13.2",
"refurb",
"pylint >= 3.0.3",
"pylint_junit",
#"shellcheck-py",
#"pylint",
#"mypy >= 1.9.0",
"autoflake",
"pydocstyle",
#"pyre-check",
#"pydocstringformatter",
#"pyrefact",
#"pyflakes",
"mccabe",
"hypothesis >= 6.100.1",
"pytest >= 8.1.1",
"pytest-sugar",
"pytest-xdist",
"pytest-benchmark",
"pytest-cov",
"pytest-mock",
"pytest-runner",
"pytest-github-actions-annotate-failures",
]
[tool.pyright]
include = ["sources"]
pythonVersion = "3.12"
pythonPlatform = "Linux"
exclude = ["datasets", "dependencies", "output", "**/prototypes"]
executionEnvironments = [{ root = "sources" }]
[tool.ruff]
target-version = 'py312'
line-length = 88
[tool.ruff.lint]
select = [
"F", # flake8
"E", # pycodestyle
"B", # flake8-bugbear
"C", # mccabe
"I", # isort
"ARG", # flake8-unused-arguments
"C4", # flake8-comprehensions
"EM", # flake8-errmsg
"ICN", # flake8-import-conventions
"G", # flake8-logging-format
"PGH", # pygrep-hooks
"PIE", # flake8-pie
"PL", # pylint
"PT", # flake8-pytest-style
"PTH", # flake8-use-pathlib
"RET", # flake8-return
"SIM", # flake8-simplify
"T20", # flake8-print
"UP", # pyupgrade
"NPY", # NumPy specific rules
"FURB", # refurb
"PYI", # flake8-pyi
]
[tool.ruff.format]
docstring-code-format = true
docstring-code-line-length = "dynamic"