Skip to content

Commit a4bcde0

Browse files
Convert pytest warnings into errors
Just a ratchet to ensure we don't inadvertently miss warnings in CI output. Similar to connect-python: connectrpc/connect-python#118
1 parent 0882f6b commit a4bcde0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ ban-relative-imports = "all"
109109
strict = true
110110
# restrict testpaths to speed up test discovery
111111
testpaths = ["test"]
112+
# Turn all warnings into errors
113+
filterwarnings = ["error"]
112114

113115
[tool.mypy]
114116
mypy_path = "gen"

0 commit comments

Comments
 (0)