8000 build: treat warnings as errors (#235) · googleapis/python-runtimeconfig@210030d · GitHub
[go: up one dir, main page]

Skip to content

Commit 210030d

Browse files
authored
build: treat warnings as errors (#235)
* build: treat warnings as errors * filter protobuf warning
1 parent 661a017 commit 210030d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

pytest.ini

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[pytest]
2+
filterwarnings =
3+
# treat all warnings as errors
4+
error
5+
# Remove once release PR https://github.com/googleapis/python-api-common-protos/pull/191 is merged
6+
ignore:.*pkg_resources.declare_namespace:DeprecationWarning
7+
ignore:.*pkg_resources is deprecated as an API:DeprecationWarning
8+
# Remove once https://github.com/protocolbuffers/protobuf/issues/12186 is fixed
9+
ignore:.*custom tp_new.*in Python 3.14:DeprecationWarning

0 commit comments

Comments
 (0)
0