From e726eb40eabc29beacb18d174b3b75217326a7b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Noord?= <13665637+DanielNoord@users.noreply.github.com> Date: Tue, 7 Sep 2021 14:01:20 +0200 Subject: Type ``process_module`` and update argument names --- examples/custom_raw.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'examples') 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 -- cgit v1.2.1