Open cgahr opened 2 years ago
I was able to make this error go away for noxfile.py by putting ./ in front of that filename in my .flake8 configuration file locations = "src", "tests", "./noxfile.py"
previously the line was locations = "src", "tests", "noxfile.py" which resulted in Unable to find qualified name for module: noxfile.py
Hi,
since version 3.0.0, I get a the error
Unable to find qualified name for module: file.py
. when I runflake8
.How to reproduce
file.py
:print("Oh no!")
running
flake8 .
actually works:Actual Result:
Running
flake8 file.py
does not work. As you can see,flake8
throwsUnable to find qualified name for module: file.py
.Additional Informations:
flake8-bandit
from my environment, the error disappears4.0.1
and flake8-bandit3.0.0
.I'm looking forward to your reply.
C