Skip to content

Commit 27de0df

Browse files
committed
Make warnings errorsnin pytest
1 parent 6937308 commit 27de0df

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ include = ["pydocstringformatter*"]
5555
[tool.pytest]
5656
testpaths = "tests"
5757

58+
[tool.pytest.ini_options]
59+
filterwarnings = [
60+
"error"
61+
]
62+
5863
[tool.mypy]
5964
files = "pydocstringformatter,tests"
6065
exclude = "tests/data.*"

0 commit comments

Comments
 (0)