diff options
author | Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com> | 2021-09-07 14:01:20 +0200 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-09-13 13:32:34 +0200 |
commit | e726eb40eabc29beacb18d174b3b75217326a7b9 (patch) | |
tree | c5766a94edbb7a842de7d6f30ff93cddc0c30e18 /examples | |
parent | ebae36e35447f113649b87a5dd7a3e03b793605c (diff) | |
download | pylint-git-e726eb40eabc29beacb18d174b3b75217326a7b9.tar.gz |
Type ``process_module`` and update argument names
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 |