-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
104 lines (90 loc) · 1.82 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
[tool.poetry]
name = "bytetracker"
authors = ["TomDarmon <[email protected]>"]
description = "Maintained fork of bytetrack-pip"
version = "0.3.0"
readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.8"
lapx = ">=0.5.2"
scipy = ">=1.9.3"
[tool.poetry.group.dev.dependencies]
black = "22.10.0"
ruff = "0.0.272"
isort = "5.12.0"
pre-commit = "3.3.3"
pytest = "7.3.2"
nbstripout = "0.6.1"
ipykernel = "6.24.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
select = [
"E",
"W",
"F",
"I",
"N",
"Q",
"ARG",
"PTH",
"PD",
] # See: https://beta.ruff.rs/docs/rules/
ignore = ["D203", "D213", "ANN101", "ANN102", "N806", "E741"]
line-length = 120
target-version = "py310"
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
]
[tool.ruff.pydocstyle]
convention = "google"
# https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html
[tool.black]
line-length = 100
target-version = ["py310"]
include = '\.pyi?$'
exclude = '''
(
/(
\.direnv
| \.eggs
| \.git
| \.tox
| \.venv
| _build
| build
| dist
| venv
)/
)
'''
[tool.isort]
profile = "black"
[tool.semantic_release]
version_variables = ["bytetracker/__init__.py:__version__"]
version_toml = ["pyproject.toml:tool.poetry.version"]
branch = "main"
upload_to_pypi = false
upload_to_release = true
build_command = "pip install poetry && poetry build"
commit_message = "chore(release): {version}\n\nAutomatically generated by semantic-release"
tag_format = "{version}"
[tool.semantic_release.changelog]
exclude_commit_patterns = ['''^chore\(release\).*''']
[tool.semantic_release.remote]
token = { env = "GH_TOKEN" }