Skip to content

Commit

Permalink
build: treat warnings as errors (#235)
Browse files Browse the repository at this point in the history
* build: treat warnings as errors

* filter protobuf warning
  • Loading branch information
parthea authored Nov 29, 2023
1 parent 661a017 commit 210030d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[pytest]
filterwarnings =
# treat all warnings as errors
error
# Remove once release PR https://github.com/googleapis/python-api-common-protos/pull/191 is merged
ignore:.*pkg_resources.declare_namespace:DeprecationWarning
ignore:.*pkg_resources is deprecated as an API:DeprecationWarning
# Remove once https://github.com/protocolbuffers/protobuf/issues/12186 is fixed
ignore:.*custom tp_new.*in Python 3.14:DeprecationWarning

0 comments on commit 210030d

Please sign in to comment.