Unable to find qualified name for module #725
-
I'm encountering an info message as mentioned in the discussion title. Does this hinder the actual progress of the security scanning? Details are in the screenshot below. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
It happened to me, Running
It seems to come from here: bandit/bandit/core/node_visitor.py Lines 40 to 47 in 5ff73ff So it shouldn't hinder anything, and most things should work as expected |
Beta Was this translation helpful? Give feedback.
-
I see this same error scanning markdown files as well.
|
Beta Was this translation helpful? Give feedback.
-
Has there been any movement on this issue? I see the same after adding flake8-bandit to my nox sessions. It doesn't find qualified names for py files in the working directory |
Beta Was this translation helpful? Give feedback.
-
the source code Lines 139 to 143 in c8d5f77 mandates both "head" and "tail" so we need to make sure the instead of bandit myfile.py use bandit ./myfile.py |
Beta Was this translation helpful? Give feedback.
the source code
bandit/bandit/core/utils.py
Lines 139 to 143 in c8d5f77
mandates both "head" and "tail"
so we need to make sure the
path
has both, easy peasy lemon squeezy:instead of
use