Skip to content

Commit 30f5cc7

Browse files
authored
build: treat warnings as errors (#235)
* build: treat warnings as errors * filter protobuf warning
1 parent 74557e7 commit 30f5cc7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
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)