Skip to content

[Suggestion] Handling Exclusions #1

@rfc-st

Description

@rfc-st

Hi,

Thank you for this tool :)!.

I think it would be useful if codeaudit had a feature (perhaps by default or via a parameter) that took into account the following annotations/comments in the code and did not report security issues in the code associated with them:

# noqa
# nosec

similar to:

https://bandit.readthedocs.io/en/latest/config.html#exclusions
https://github.com/jendrikseipp/vulture?tab=readme-ov-file#flake8-noqa-comments

Regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions