Skip to content

Commit f886e7a

Browse files
Enrico Usaienrico-usai
authored andcommitted
Disable C0103 pylint check (snake_case naming style) for eq method override
Signed-off-by: Enrico Usai <[email protected]>
1 parent 8d4b6d6 commit f886e7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cli/src/pcluster/config/common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def suppress_validator(self, validator: Validator) -> bool:
3636
class 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
4949
class 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

0 commit comments

Comments
 (0)