import-self
false positive when importing non-existing module from current package
#3748
Labels
False Positive 🦟
A message is emitted but nothing is wrong with the code
Import system
Needs PR
This issue is accepted, sufficiently specified and now needs an implementation
Steps to reproduce
__init__.py
pylint ./
Current behavior
W0406: Module import itself (import-self)
Expected behavior
X0000: Module import not found (import-missing)
pylint --version output
Reproduce case
pipenv install
(to install pylint, create venv)pipenv run pylint ./
The text was updated successfully, but these errors were encountered: