Skip to content

Commit

Permalink
Filter google rcp related warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jenshnielsen committed Jan 8, 2021
1 parent 125c171 commit ae5b513
Showing 1 changed file with 10 additions and 2 deletions.
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

0 comments on commit ae5b513

Please sign in to comment.