-
Notifications
You must be signed in to change notification settings - Fork 5
/
pyproject.toml
59 lines (53 loc) · 1.56 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "neuro-ncap"
version = "0.0.1"
description = "Neuro-NCAP: Neural Simulation for closed-loop evaluation of AD systems."
readme = "README.md"
license = { text="MIT"}
requires-python = ">=3.8.0,<3.12"
dependencies = [
"nuscenes-devkit==1.1.11",
"torch==2.1",
"websocket-client==1.5",
"httpx==0.25",
"tyro==0.6.6",
]
[project.optional-dependencies]
dev = [
"pre-commit==3.6.0",
"ruff==0.1.13",
"pytest==8",
]
[tool.setuptools.packages.find]
include = ["neuro_ncap*"]
[tool.black]
line-length = 120
[tool.ruff]
line-length = 120
select = [
"ALL", # All checks
]
ignore = [
"INP001", # Implicit namespace packages
"D", # Docstring checks
"TD002", # TODO author
"TD003", # TODO issue link
"ANN101", # Missing type annotation for `self`
"ANN002", # Missing type annotation for *args
"ANN003", # Missing type annotation for **kwargs
"ANN401", # Any type is not allowed
"FIX", # Forbids TODO, FIXME, etc.
"T201", # Forbids print statements
"TRY003", # Forbids long exception messages
"EM101", # Exception must not use raw strings
"EM102", # Exception must not use fstrings
"COM812", # Forbids trailing commas in function calls
"ERA001", # Forbids use of commented out code
"FBT001", # Boolean-typed positional argument in function definition
"FBT002", # Boolean default positional argument in function definition
]
[tool.pytest.ini_options]
pythonpath = ["."]