diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/custom_raw.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/custom_raw.py b/examples/custom_raw.py index 63e4aeb8e..5f747869f 100644 --- a/examples/custom_raw.py +++ b/examples/custom_raw.py @@ -1,3 +1,5 @@ +from astroid import nodes + from pylint.checkers import BaseChecker from pylint.interfaces import IRawChecker @@ -22,7 +24,7 @@ class MyRawChecker(BaseChecker): } options = () - def process_module(self, node): + def process_module(self, node: nodes.Module) -> None: """process a module the module's content is accessible via node.stream() function |