-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: treat warnings as errors (#237)
* build: treat warnings as errors * ignore warnings from googleapis-common-protos * remove grpc from system test which is not used in this library
- Loading branch information
Showing
3 changed files
with
19 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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-cloud-core/issues/259 is fixed | ||
ignore:datetime.datetime.utcnow\(\) is deprecated: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 |