File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ def suppress_validator(self, validator: Validator) -> bool:
3636class AllValidatorsSuppressor (ValidatorSuppressor ):
3737 """Suppressor that suppresses all validators."""
3838
39- def __eq__ (self , o : object ) -> bool :
39+ def __eq__ (self , o : object ) -> bool : # pylint: disable=C0103
4040 return isinstance (o , AllValidatorsSuppressor )
4141
4242 def __hash__ (self ) -> int :
@@ -49,7 +49,7 @@ def suppress_validator(self, validator: Validator) -> bool: # noqa: D102
4949class TypeMatchValidatorsSuppressor (ValidatorSuppressor ):
5050 """Suppressor that suppresses validators based on their type."""
5151
52- def __eq__ (self , o : object ) -> bool :
52+ def __eq__ (self , o : object ) -> bool : # pylint: disable=C0103
5353 if isinstance (o , TypeMatchValidatorsSuppressor ):
5454 return o ._validators_to_suppress == self ._validators_to_suppress
5555 return False
You can’t perform that action at this time.
0 commit comments