|
|
@ -9,8 +9,8 @@ Homepage = "https://comma.ai" |
|
|
|
|
|
|
|
|
|
|
|
[tool.pytest.ini_options] |
|
|
|
[tool.pytest.ini_options] |
|
|
|
minversion = "6.0" |
|
|
|
minversion = "6.0" |
|
|
|
addopts = "--ignore=selfdrive/test/process_replay/test_processes.py --ignore=selfdrive/test/process_replay/test_regen.py -Werror --strict-config --strict-markers --durations=10 -n auto --dist=loadgroup" |
|
|
|
addopts = "--ignore=openpilot/ --ignore=cereal/ --ignore=opendbc/ --ignore=panda/ --ignore=rednose_repo/ --ignore=tinygrad_repo/ --ignore=teleoprtc_repo/ -Werror --strict-config --strict-markers --durations=10 -n auto --dist=loadgroup" |
|
|
|
cpp_files = "test_*.cc" |
|
|
|
cpp_files = "test_*" |
|
|
|
cpp_harness = "selfdrive/test/cpp_harness.py" |
|
|
|
cpp_harness = "selfdrive/test/cpp_harness.py" |
|
|
|
python_files = "test_*.py" |
|
|
|
python_files = "test_*.py" |
|
|
|
#timeout = "30" # you get this long by default |
|
|
|
#timeout = "30" # you get this long by default |
|
|
@ -19,10 +19,28 @@ markers = [ |
|
|
|
"tici: tests that are only meant to run on the C3/C3X", |
|
|
|
"tici: tests that are only meant to run on the C3/C3X", |
|
|
|
] |
|
|
|
] |
|
|
|
testpaths = [ |
|
|
|
testpaths = [ |
|
|
|
"tools/", |
|
|
|
"common", |
|
|
|
"common/", |
|
|
|
"selfdrive/boardd", |
|
|
|
"system/", |
|
|
|
"selfdrive/car", |
|
|
|
"selfdrive/", |
|
|
|
"selfdrive/controls", |
|
|
|
|
|
|
|
"selfdrive/locationd", |
|
|
|
|
|
|
|
"selfdrive/monitoring", |
|
|
|
|
|
|
|
"selfdrive/navd/tests", |
|
|
|
|
|
|
|
"selfdrive/test/longitudinal_maneuvers", |
|
|
|
|
|
|
|
"selfdrive/test/process_replay/test_fuzzy.py", |
|
|
|
|
|
|
|
"system/updated", |
|
|
|
|
|
|
|
"system/thermald", |
|
|
|
|
|
|
|
"system/athena", |
|
|
|
|
|
|
|
"system/camerad", |
|
|
|
|
|
|
|
"system/hardware/tici", |
|
|
|
|
|
|
|
"system/loggerd", |
|
|
|
|
|
|
|
"system/proclogd", |
|
|
|
|
|
|
|
"system/tests", |
|
|
|
|
|
|
|
"system/ubloxd", |
|
|
|
|
|
|
|
"system/webrtc", |
|
|
|
|
|
|
|
"tools/lib/tests", |
|
|
|
|
|
|
|
"tools/replay", |
|
|
|
|
|
|
|
"tools/cabana" |
|
|
|
] |
|
|
|
] |
|
|
|
|
|
|
|
|
|
|
|
[tool.mypy] |
|
|
|
[tool.mypy] |
|
|
@ -210,10 +228,6 @@ lint.flake8-implicit-str-concat.allow-multiline=false |
|
|
|
"unittest".msg = "Use pytest" |
|
|
|
"unittest".msg = "Use pytest" |
|
|
|
|
|
|
|
|
|
|
|
[tool.coverage.run] |
|
|
|
[tool.coverage.run] |
|
|
|
omit = [ |
|
|
|
|
|
|
|
"config.py", |
|
|
|
|
|
|
|
"config-3.py" |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
concurrency = ["multiprocessing", "thread"] |
|
|
|
concurrency = ["multiprocessing", "thread"] |
|
|
|
[tool.ruff.format] |
|
|
|
[tool.ruff.format] |
|
|
|
quote-style = "preserve" |
|
|
|
quote-style = "preserve" |
|
|
|