Skip to content

Commit 8306ab9

Browse files
committed
Pylint checkers: remove __implements__
Was removed in pylint-dev/pylint#8404.
1 parent 52282f4 commit 8306ab9

File tree

3 files changed

+0
-11
lines changed

3 files changed

+0
-11
lines changed

scripts/pylint_checkers/check_count.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,12 @@
44

55
import astroid
66

7-
from pylint.interfaces import IAstroidChecker
87
from pylint.checkers import BaseChecker
98

109

1110
class CountComparedWithoutNone(BaseChecker):
1211
"""Checker to ensure count is compared to None."""
1312

14-
__implements__ = IAstroidChecker
15-
1613
name = "count-compared-directly"
1714

1815
# here we define our messages
@@ -43,8 +40,6 @@ def _check_compare_count(self, node):
4340
class CountAssignedToZero(BaseChecker):
4441
"""Checker to inform when default assigning count to zero."""
4542

46-
__implements__ = IAstroidChecker
47-
4843
name = "count-default-zero"
4944

5045
# here we define our messages

scripts/pylint_checkers/check_docstring.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,12 @@
77

88
import astroid
99

10-
from pylint.interfaces import IAstroidChecker
1110
from pylint.checkers import BaseChecker
1211

1312

1413
class CommandMissingDocumentation(BaseChecker):
1514
"""Checker to ensure command docstrings include all information for docs."""
1615

17-
__implements__ = IAstroidChecker
18-
1916
name = "command-docstring"
2017

2118
name_ambiguous = "ambiguous-register"

scripts/pylint_checkers/check_header.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,12 @@
22

33
"""Checker to ensure each python file includes a modeline and no copyright notice."""
44

5-
from pylint.interfaces import IRawChecker
65
from pylint.checkers import BaseChecker
76

87

98
class FileHeaderChecker(BaseChecker):
109
"""Checker to ensure each python file includes a modeline and copyright notice."""
1110

12-
__implements__ = IRawChecker
13-
1411
name = "file-header"
1512
name_modeline_missing = "modeline-missing"
1613
name_copyright_included = "copyright-included"

0 commit comments

Comments
 (0)