bandit
bandit copied to clipboard
fail over non-existing files
Is your feature request related to a problem? Please describe. bandit does not fail over non-existing files. It does print a message but this is invisible with -q option. Its exit code is 0 indicating success.
Describe the solution you'd like bandit must fail (with an appropriate message and exit code != 0) when given non-existing files.
Additional context bandit 1.7.0 python version = 3.7.7 (tags/v3.7.7:d7c567b08f, Mar 10 2020, 09:44:33) [MSC v.1900 32 bit (Intel)]