#nosec BXXX does not contribute to Total lines skipped (#nosec)
#1205
Labels
bug
Something isn't working
Total lines skipped (#nosec)
#1205
Describe the bug
When running code that has a nosec line that specifes a test these lines are not counted in the "Total lines skipped" metric in the summary
Reproduction steps
Expected behavior
The
Total lines skipped
should be 1 just like when you use a bare#nosec
Bandit version
1.7.10 (Default)
Python version
3.12
Additional context
No response
The text was updated successfully, but these errors were encountered: