Skip to content

Commit

Permalink
Pytest fail when warnings are raised (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamltyson authored Feb 20, 2024
1 parent ef887fe commit fb1469a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions {{cookiecutter.package_name}}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ exclude = ["tests*"]

[tool.pytest.ini_options]
addopts = "--cov={{cookiecutter.module_name}}"
filterwarnings = [
"error",
]

[tool.black]
target-version = ['py39', 'py310', 'py311']
Expand Down

0 comments on commit fb1469a

Please sign in to comment.