Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter google rcp related warnings #2598

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,16 @@ markers = serial
; Filter warning from Hypothesis that we are using function scope fixtures
; It would be very hard to rewrite them as module scope as they
; are using in other tests where they must be function scope
filterwarnings = ignore:.*which is reset between function calls but not between test cases generated by

; Filter google rcp related deprecation warnings.
; See https://github.com/googleapis/python-api-common-protos/issues/23
filterwarnings =
ignore:.*which is reset between function calls but not between test cases generated by
ignore:Call to deprecated create function FieldDescriptor
ignore:Call to deprecated create function Descriptor
ignore:Call to deprecated create function EnumDescriptor
ignore:Call to deprecated create function EnumValueDescriptor
ignore:Call to deprecated create function FileDescriptor
ignore:Call to deprecated create function OneofDescriptor
[mypy]
strict_optional = True
disallow_untyped_decorators = True
Expand Down