-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
66 lines (58 loc) · 1.92 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
[tool.poetry]
name = "multimodal-reference"
version = "0.1.0"
description = ""
authors = ["nobu-g <[email protected]>"]
[tool.poetry.dependencies]
python = ">=3.9,<3.12"
tqdm = "^4.64"
rhoknp = "~1.7.0"
dataclasses-json = "^0.6.1"
hydra-core = "^1.3.1"
polars = "^0.19.19"
cohesion-tools = "^0.7.2"
matplotlib = "^3.8"
boxmot = "^10.0.51"
luigi = { version = "^3.4", extras = ["toml"] }
tabulate = "^0.9.0"
motmetrics = "^1.4"
pyarrow = "^14.0"
plotly = "^5.18"
torchmetrics = { version = "^1.2", extras = ["detection"] }
[tool.poetry.group.dev.dependencies]
ipdb = "^0.13.13"
pytest = "^7.2.0"
[tool.black]
line-length = 120
target-version = ["py39", "py310"]
[tool.ruff]
line-length = 120
indent-width = 4
target-version = "py39" # The minimum Python version to target
src = ["src", "scripts"]
[tool.ruff.lint]
select = ["F", "E", "W", "I", "B", "PL", "PD", "NPY", "RUF", "UP", "TID", "COM", "PT", "ARG", "PYI"]
ignore = [
"PLR0912", # Too many branches
"PLR0913", # Too many arguments in function definition
"PLR0915", # Too many statements
"PLR2004", # Magic value used in comparison
"E501", # Line too long
"RUF001", # String contains ambiguous `ノ` (KATAKANA LETTER NO). Did you mean `/` (SOLIDUS)?
"RUF002", # Docstring contains ambiguous `,` (FULLWIDTH COMMA). Did you mean `,` (COMMA)?
"RUF003", # Comment contains ambiguous `ノ` (KATAKANA LETTER NO). Did you mean `/` (SOLIDUS)?
"COM812", # Trailing comma missing
"ANN002", # Missing type annotation for `*args`
"ANN003", # Missing type annotation for `**kwargs`
"ANN101", # Missing type annotation for `self` in method
"ANN102", # Missing type annotation for `cls` in classmethod
]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["ANN"]
[tool.ruff.lint.flake8-tidy-imports]
ban-relative-imports = "all"
[tool.mypy]
python_version = 3.9
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"