Skip to content

Commit

Permalink
build: treat warnings as errors
Browse files Browse the repository at this point in the history
  • Loading branch information
parthea committed Nov 30, 2023
1 parent 6547c6e commit ac40d1b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[pytest]
filterwarnings =
# treat all warnings as errors
error
# Remove once https://github.com/protocolbuffers/protobuf/issues/12186 is fixed
ignore:.*custom tp_new.*in Python 3.14:DeprecationWarning
# Remove once https://github.com/googleapis/python-api-common-protos/pull/187/files is merged
ignore:.*pkg_resources.declare_namespace:DeprecationWarning
ignore:.*pkg_resources is deprecated as an API:DeprecationWarning
# Remove once https://github.com/googleapis/python-firestore/issues/804 is fixed
ignore:.*Detected filter using positional arguments:UserWarning

0 comments on commit ac40d1b

Please sign in to comment.