Skip to content

Commit

Permalink
pytest.ini_options
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Jun 12, 2024
1 parent 9fcc8b9 commit e263695
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[build-system]
requires = [
"setuptools",
"wheel",
]

[tool.pytest.ini_options]
norecursedirs = [".git", ".github", "dist", "build"]
addopts = [
"--doctest-modules",
"--color=yes",
"--disable-pytest-warnings",
]
filterwarnings = [
"ignore::FutureWarning",
"default:::torchmetrics",
]
xfail_strict = true
junit_duration_report = "call"

[tool.coverage.report]
exclude_lines = ["pragma: no cover", "pass"]
[tool.coverage.run]
parallel = true
concurrency = "thread"
relative_files = true

0 comments on commit e263695

Please sign in to comment.