diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2022-04-19 17:16:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-19 17:16:59 +0200 |
commit | 58a4067d4b70c5e05eca23d57c3e6ad30d1788bd (patch) | |
tree | e921a773234b57e298cbb17c64426c802633035e /pylint/checkers/misc.py | |
parent | ac6efbff8ba8145407dad16b927b8b9df5976ee6 (diff) | |
download | pylint-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.py | 2 |
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 |