Replies: 2 comments 1 reply
-
Like mypy overrides or flake8 per-file-ignores? |
Beta Was this translation helpful? Give feedback.
1 reply
-
it should be ok with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a file that uses a lot of string-based query construction and thus triggers many issues of type
B608:hardcoded_sql_expressions
. At the moment, apparently, I have to ignore each issue individually by appending# nosec B608
to the relevant statement.Is there any way to ignore all occurrences of a specific issue in a specific file?
E.g., I would love just to append
# nosec B608
to the beginning of the file. Thanks in advance for your help!Beta Was this translation helpful? Give feedback.
All reactions