diff options
author | Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | 2022-09-09 23:05:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-09 23:05:00 +0200 |
commit | 0cc82c4c0de8771c1323cc2e183497d722ea5bfe (patch) | |
tree | 85ff551d96291e647a1b865ce13df9808ad3d4c5 /pylint/checkers/similar.py | |
parent | ddde4fc074d0b4ae678f5111aafd0f54f3ddf409 (diff) | |
download | pylint-git-0cc82c4c0de8771c1323cc2e183497d722ea5bfe.tar.gz |
Turn on ``mypy`` strict mode 🎉 (#7448)
* Ignore subclasses of Any
* Add ignores for imported code and remove casts
* Add disables for uninferable return values
* Turn on ``mypy`` strict mode
Diffstat (limited to 'pylint/checkers/similar.py')
-rw-r--r-- | pylint/checkers/similar.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/checkers/similar.py b/pylint/checkers/similar.py index 4def4b6c0..32d2394f8 100644 --- a/pylint/checkers/similar.py +++ b/pylint/checkers/similar.py @@ -585,7 +585,7 @@ def stripped_lines( line_begins_import = { lineno: all(is_import for _, is_import in node_is_import_group) for lineno, node_is_import_group in groupby( - node_is_import_by_lineno, key=lambda x: x[0] + node_is_import_by_lineno, key=lambda x: x[0] # type: ignore[no-any-return] ) } current_line_is_import = False |