-
-
Notifications
You must be signed in to change notification settings - Fork 606
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
How to check the exclude path works in the .bandit file ? #400
Labels
question
Further information is requested
Comments
I think this is because the exclude has starts with \ have you try with / ? |
better use in your bandit config file
|
Looks like wrong path separator as mentioned. |
I tried to exclude "tests" folder, but I can't. [bandit] How to fix this problem? |
Hi, I have the same problem only in version 1.6.0. Running:
Ignores tests/ folder in version 1.5.1 but not in 1.6.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My .bandit file looks like below.
Command line output.
My question is , the total code line scanned is the same as before and after I write the .bandit file and the command line output do not give me clearly information that my config to exclude /templates folder works or not.
The text was updated successfully, but these errors were encountered: