You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run bandit -lll, I really mean: "Run checks only for the severity level or higher and only report such detections."
From what I'm seeing, it looks like without specific per-rule configuration, bandit will run all rules and only error if problems were found at the given severity level or higher. For larger code bases, this hits the turnaround time for the check. Is there an easy way to make this focused and faster without looking at the rule list and manually adding every rule that matches the severity filtering I want?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
When I run
bandit -lll
, I really mean: "Run checks only for the severity level or higher and only report such detections."From what I'm seeing, it looks like without specific per-rule configuration, bandit will run all rules and only error if problems were found at the given severity level or higher. For larger code bases, this hits the turnaround time for the check. Is there an easy way to make this focused and faster without looking at the rule list and manually adding every rule that matches the severity filtering I want?
Beta Was this translation helpful? Give feedback.
All reactions