diff options
Diffstat (limited to 'examples/custom.py')
-rw-r--r-- | examples/custom.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/examples/custom.py b/examples/custom.py index a647f8518..b05954d45 100644 --- a/examples/custom.py +++ b/examples/custom.py @@ -3,7 +3,6 @@ from typing import TYPE_CHECKING from astroid import nodes from pylint.checkers import BaseChecker -from pylint.interfaces import IAstroidChecker if TYPE_CHECKING: from pylint.lint import PyLinter @@ -14,10 +13,6 @@ if TYPE_CHECKING: class MyAstroidChecker(BaseChecker): """Add class member attributes to the class local's dictionary.""" - # This class variable defines the type of checker that we are implementing. - # In this case, we are implementing an AST checker. - __implements__ = IAstroidChecker - # The name defines a custom section of the config for this checker. name = "custom" # This class variable declares the messages (ie the warnings and errors) |