Skip to content

Commit

Permalink
Add extra config to pytest (#932)
Browse files Browse the repository at this point in the history
Adding some extra config to pytest, based on sp-repo-review.

Signed-off-by: Henry Schreiner <[email protected]>
  • Loading branch information
henryiii authored Aug 29, 2023
1 parent 2269149 commit 52b74bd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,15 @@ sdist.include = ["extern/root/math/minuit2/inc", "extern/root/math/minuit2/src"]

[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-q -ra --ff"
addopts = ["-q", "-ra", "--ff", "--strict-config", "--strict-markers"]
log_cli_level = "INFO"
testpaths = ["tests"]
xfail_strict = true
filterwarnings = [
"error::numpy.VisibleDeprecationWarning",
"error::PendingDeprecationWarning",
"error::DeprecationWarning",
"error::FutureWarning",
]

[tool.ruff]
Expand Down

0 comments on commit 52b74bd

Please sign in to comment.