Skip to content

Commit

Permalink
ENH: Consider warnings as errors when running pytest
Browse files Browse the repository at this point in the history
Consider warnings as errors when running `pytest`: add the
`strict-warnings` flag to `pytest` to consider warnings as errors.
  • Loading branch information
jhlegarreta committed Jan 9, 2025
1 parent a6bcd48 commit f3842ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ addopts = [
"-ra",
"--strict-config",
"--strict-markers",
"--strict-warnings",
"--doctest-modules",
# Config pytest-cov
"--cov=nireports",
Expand Down

0 comments on commit f3842ff

Please sign in to comment.