We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d82c4b commit a038a04Copy full SHA for a038a04
astroid/interpreter/_import/util.py
@@ -83,7 +83,6 @@ def is_namespace(modname: str) -> bool:
83
84
# Repair last_submodule_search_locations
85
if last_submodule_search_locations:
86
- # pylint: disable=unsubscriptable-object
87
last_item = last_submodule_search_locations[-1]
88
# e.g. for failure example above, add 'a/b' and keep going
89
# so that find_spec('a.b.c', path=['a', 'a/b']) succeeds
0 commit comments