Update pyproject.toml [tool.pytest.ini_options] (#9259)

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
Glenn Jocher 2024-03-24 02:54:25 +01:00 committed by GitHub
parent 33607ca278
commit 8d31c50856
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 25 deletions

View file

@ -140,9 +140,13 @@ package-data = { "ultralytics" = ["**/*.yaml"], "ultralytics.assets" = ["*.jpg"]
[tool.setuptools.dynamic]
version = { attr = "ultralytics.__version__" }
[tool.pytest]
norecursedirs = [".git", "dist", "build"]
[tool.pytest.ini_options]
addopts = "--doctest-modules --durations=30 --color=yes"
markers = [
"slow: skip slow tests unless --slow is set",
]
norecursedirs = [".git", "dist", "build"]
[tool.coverage.run]
source = ["ultralytics/"]