mirror of
https://github.com/commaai/rednose.git
synced 2026-06-09 14:34:34 +08:00
44 lines
888 B
TOML
44 lines
888 B
TOML
[project]
|
|
name = "rednose"
|
|
requires-python = ">= 3.11"
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
"sympy",
|
|
"numpy<2.0",
|
|
"scipy",
|
|
"tqdm",
|
|
"cffi",
|
|
"scons",
|
|
"Cython",
|
|
"setuptools",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"ruff",
|
|
"pre-commit",
|
|
"pytest",
|
|
"pytest-xdist",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["setuptools", "scons", "Cython", "numpy<2.0", "sympy", "pytest", "cffi"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[tool.ruff]
|
|
line-length = 160
|
|
target-version="py311"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "W", "PIE", "C4", "ISC", "RUF100", "A"]
|
|
ignore = ["W292", "E741", "E402", "C408", "ISC003"]
|
|
flake8-implicit-str-concat.allow-multiline=false
|
|
|
|
[tool.ruff.lint.flake8-tidy-imports.banned-api]
|
|
"pytest.main".msg = "pytest.main requires special handling that is easy to mess up!"
|
|
"unittest".msg = "Use pytest"
|
|
|
|
[tool.pytest.ini_options]
|
|
addopts = "--durations=10 -n auto"
|