mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-06 00:36:32 +08:00
pytest: strict config (#29676)
* pytest: strict config * collection works * fixes
This commit is contained in:
+4
-2
@@ -1,8 +1,8 @@
|
||||
[tool.pytest.ini_options]
|
||||
minversion = "6.0"
|
||||
addopts = "--ignore=panda/ --ignore=rednose_repo/ --ignore=tinygrad_repo/ --ignore=laika_repo/"
|
||||
addopts = "--ignore=opendbc/ --ignore=panda/ --ignore=rednose_repo/ --ignore=tinygrad_repo/ --ignore=laika_repo/ -Werror --strict-config --strict-markers"
|
||||
python_files = "test_*.py"
|
||||
timeout = "30" # you get this long by default
|
||||
#timeout = "30" # you get this long by default
|
||||
|
||||
[tool.mypy]
|
||||
python_version = "3.11"
|
||||
@@ -124,6 +124,8 @@ pytest = "*"
|
||||
pytest-cov = "*"
|
||||
pytest-subtests = "*"
|
||||
pytest-xdist = "*"
|
||||
pytest-timeout = "*"
|
||||
pytest-timeouts = "*"
|
||||
scipy = "*"
|
||||
sphinx = "*"
|
||||
sphinx-rtd-theme = "*"
|
||||
|
||||
Reference in New Issue
Block a user