We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
It seems to not be detecting project modules correctly. I did the following to demonstrate the issue
✔ 13:35 ~/PycharmProjects/pythonProject $ tree . ├── main.py └── test ├── __init__.py └── test2 ├── __init__.py └── testmodule.py 2 directories, 4 files ✔ 13:36 ~/PycharmProjects/pythonProject $ cat main.py from test.test2 import testmodule from test import test2 if __name__ == '__main__': testmodule.foo() test2.testmodule.foo() (pythonProject) ✔ 13:36 ~/PycharmProjects/pythonProject $ flake8 ./main.py:1:1: IMR241 from-import statements must only import modules. (hint: Import the containing module instead.) ./main.py:2:1: IMR241 from-import statements must only import modules. (hint: Import the containing module instead.)
The import is a submodule but it is flagged as an issue
The text was updated successfully, but these errors were encountered:
Thanks for the report. I'll have a look :)
Sorry, something went wrong.
Thank you!
No branches or pull requests
It seems to not be detecting project modules correctly. I did the following to demonstrate the issue
The import is a submodule but it is flagged as an issue
The text was updated successfully, but these errors were encountered: