8000 build: treat warnings as errors (#246) · googleapis/google-cloud-python@83f9aa2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 83f9aa2

Browse files
authored
build: treat warnings as errors (#246)
1 parent 365e620 commit 83f9aa2

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[pytest]
2+
filterwarnings =
3+
# treat all warnings as errors
4+
error
5+
# Remove once https://github.com/protocolbuffers/protobuf/issues/12186 is fixed
6+
ignore:.*custom tp_new.*in Python 3.14:DeprecationWarning
7+
# Remove once https://github.com/grpc/grpc/issues/35086 is fixed
8+
ignore:There is no current event loop:DeprecationWarning:grpc.aio._channel
9+
# Remove once https://github.com/googleapis/python-api-common-protos/pull/187/files is merged
10+
ignore:.*pkg_resources.declare_namespace:DeprecationWarning
11+
ignore:.*pkg_resources is deprecated as an API:DeprecationWarning
12+
# Remove once release PR https://github.com/googleapis/proto-plus-python/pull/391 is merged
13+
ignore:datetime.datetime.utcfromtimestamp\(\) is deprecated:DeprecationWarning:proto.datetime_helpers
14+
# Remove once release PR https://github.com/googleapis/python-api-core/pull/555 is merged
15+
ignore:datetime.datetime.utcnow\(\) is deprecated:DeprecationWarning:google.api_core.datetime_helpers

0 commit comments

Comments
 (0)
0