Skip to content
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

cannot run bandit on codes in a folder using *.py #537

Closed
munframed opened this issue Sep 3, 2019 · 1 comment
Closed

cannot run bandit on codes in a folder using *.py #537

munframed opened this issue Sep 3, 2019 · 1 comment
Labels
invalid This doesn't seem right

Comments

@munframed
Copy link

munframed commented Sep 3, 2019

Describe the bug
Not sure if it's a bug, but I can run bandit on each file in a folder, however when I try to use /folder/*.py, it says

Files skipped (1):
*.py (Invalid argument)

How should I fix this? I'm on Anaconda (latest version) on Windows 10.

@ericwb
Copy link
Member

ericwb commented Sep 23, 2019

By default Bandit scans directories for *.py. So there is no need to enter *.py part of /folder/

@ericwb ericwb closed this as completed Sep 23, 2019
@ericwb ericwb added the invalid This doesn't seem right label Sep 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants