forked from argoverse/av2-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
92 lines (79 loc) · 1.52 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
[build-system]
requires = ["maturin>=0.14,<0.15"]
build-backend = "maturin"
[project]
name = "av2"
requires-python = ">=3.8"
classifiers = [
"Programming Language :: Rust",
"Programming Language :: Python :: Implementation :: CPython",
]
dependencies = [
"av",
"click",
"joblib",
"kornia",
"matplotlib",
"nox",
"numba",
"numpy",
"opencv-python",
"pandas",
"polars",
"pyarrow",
"pyproj",
"rich",
"scipy",
"torch",
"tqdm",
"universal_pathlib",
"trackeval @ git+https://github.com/JonathonLuiten/TrackEval.git"
]
dynamic = [
"authors",
"description",
"license",
"readme",
"version"
]
[project.optional-dependencies]
lint = [
"black[jupyter]",
"mypy",
"ruff",
]
test = [
"pytest",
"pytest-benchmark",
"pytest-cov",
]
[project.urls]
homepage = "argoverse.org"
repository = "https://github.com/argoverse/av2-api"
[tool.maturin]
features = ["pyo3/extension-module"]
module-name = "av2._r"
[tool.black]
line-length = 120
[tool.ruff]
line-length = 120
select = [
"D",
]
[tool.ruff.pydocstyle]
convention = "google"
[tool.mypy]
exclude = "build"
ignore_missing_imports = true
disallow_untyped_decorators = false
plugins = "numpy.typing.mypy_plugin"
strict = true
[tool.pyright]
include = ["src"]
reportMissingTypeStubs = false
reportUnknownMemberType = false
reportUntypedFunctionDecorator = false
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--cov-report term-missing:skip-covered --cov av2"
testpaths = ["tests"]