Skip to content

Commit

Permalink
Update pytest config
Browse files Browse the repository at this point in the history
Replace all ignored warnings with "error" to make all warnings errors.
  • Loading branch information
CasperWA committed Nov 3, 2023
1 parent 690eb3b commit 5ba668b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,5 @@ max-returns = 10

[tool.pytest.ini_options]
minversion = "7.0"
filterwarnings = [
"ignore:.*imp module.*:DeprecationWarning",
# Remove when invoke updates to `inspect.signature()` or similar:
"ignore:.*inspect.getargspec().*:DeprecationWarning",
]
addopts = ["--cov=ci_cd", "--cov-report=term-missing"]
filterwarnings = ["error"]

0 comments on commit 5ba668b

Please sign in to comment.