summaryrefslogtreecommitdiff
path: root/pylint/checkers/misc.py
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2022-04-19 17:16:59 +0200
committerGitHub <noreply@github.com>2022-04-19 17:16:59 +0200
commit58a4067d4b70c5e05eca23d57c3e6ad30d1788bd (patch)
treee921a773234b57e298cbb17c64426c802633035e /pylint/checkers/misc.py
parentac6efbff8ba8145407dad16b927b8b9df5976ee6 (diff)
downloadpylint-git-58a4067d4b70c5e05eca23d57c3e6ad30d1788bd.tar.gz
Add typing to BaseChecker.process_token (#6273)
Co-authored-by: Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>
Diffstat (limited to 'pylint/checkers/misc.py')
-rw-r--r--pylint/checkers/misc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/checkers/misc.py b/pylint/checkers/misc.py
index 73ab25e45..dea45e3d6 100644
--- a/pylint/checkers/misc.py
+++ b/pylint/checkers/misc.py
@@ -134,7 +134,7 @@ class EncodingChecker(BaseChecker):
for lineno, line in enumerate(stream):
self._check_encoding(lineno + 1, line, encoding)
- def process_tokens(self, tokens):
+ def process_tokens(self, tokens: list[tokenize.TokenInfo]) -> None:
"""Inspect the source to find fixme problems."""
if not self.linter.config.notes:
return