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

Fix up issues found running Bandit on itself #1093

Merged
merged 1 commit into from
Jan 14, 2024
Merged

Commits on Jan 14, 2024

  1. Fix up issues found running Bandit on itself

    * Used nosec for false various positives.
      1. xml.etree is used only for XML generation not parsing
      2. "0.0.0.0" is used in the plugin itself
      3. Various strings of temp directories are used in the plugin
         itself.
      4. The subprocess call does use user input, but only from
         the command line itself that is running baseline. Although
         maybe this could be argued as an issue though.
    * Fixed the empty try-except-pass to have code in the except
      block.
    
    Fixes PyCQA#948
    
    Signed-off-by: Eric Brown <[email protected]>
    ericwb committed Jan 14, 2024
    Configuration menu
    Copy the full SHA
    e67d288 View commit details
    Browse the repository at this point in the history