diff --git a/{{cookiecutter.package_name}}/pyproject.toml b/{{cookiecutter.package_name}}/pyproject.toml index ce7b359..628428f 100644 --- a/{{cookiecutter.package_name}}/pyproject.toml +++ b/{{cookiecutter.package_name}}/pyproject.toml @@ -92,6 +92,9 @@ exclude = ["tests*"] [tool.pytest.ini_options] addopts = "--cov={{cookiecutter.module_name}}" +filterwarnings = [ + "error", +] [tool.black] target-version = ['py39', 'py310', 'py311']