File tree Expand file tree Collapse file tree 3 files changed +0
-11
lines changed Expand file tree Collapse file tree 3 files changed +0
-11
lines changed Original file line number Diff line number Diff line change 44
55import astroid
66
7- from pylint .interfaces import IAstroidChecker
87from pylint .checkers import BaseChecker
98
109
1110class 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):
4340class 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
Original file line number Diff line number Diff line change 77
88import astroid
99
10- from pylint .interfaces import IAstroidChecker
1110from pylint .checkers import BaseChecker
1211
1312
1413class 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"
Original file line number Diff line number Diff line change 22
33"""Checker to ensure each python file includes a modeline and no copyright notice."""
44
5- from pylint .interfaces import IRawChecker
65from pylint .checkers import BaseChecker
76
87
98class 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"
You can’t perform that action at this time.
0 commit comments