New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"'ExceptHandler' object has no attribute 'depth'" #11
Comments
Do you know what "Plugin F" is?
|
if you're interested, I've triaged this here: https://gitlab.com/pycqa/flake8/issues/536 |
Thanks @asottile for the triage. Super helpful. I will try to dig into some of this and see if I can get a patch fix in. Thinking it may be possible to reload the import packages so they aren't monkeypatched after performing the bandit analysis. I will try to take a look here soon. 👍 |
It's not the actual packages unfortunately, but the data of the |
A bug has been created here and we will track the progress there. I will leave this open until that issue is closed. |
This has been fixed in Bandit 487 and will be released in the next fix version 1.6.1. Closing this as there is nothing additional that needs to happen on this ticket |
👏 👏 👏 thanks for following this through! the flake8 ecosystem thanks you |
With Python 3.7 on Ubuntu 16.04,
flake8-bandit
will fail on the following test script:with the following output:
Verbose doesn't help with finding out any additional info:
https://hastebin.com/suxebuxebo.txt
This issue only occurs with
flake8-bandit
installed, and occurs with all versions after1.0.2
. Pinning to1.0.2
does not cause the same issue, but this isn't a great resolution.I have tried reproducing the issue on an arch based environment without luck, as it only seems to occur on Ubuntu 16.04.
The text was updated successfully, but these errors were encountered: