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
I am getting a SecretsUsedInArgOrEnv warning on non-sensitive data.
The variables are named instance_types_file_key and static_variables_file_key. Since this is a refactor I can't rename them just like that and will have to live with the warning.
It would be great if there was a way to annotate the line to acknowledge the false positive. For instance, some linters let you use # noqa at the minimum to disable these warnings, while some others are more specific e.g. # noqa: ignore[index-error]
The text was updated successfully, but these errors were encountered:
It would be great if there was a way to annotate the line to acknowledge the false positive. For instance, some linters let you use # noqa at the minimum to disable these warnings, while some others are more specific e.g. # noqa: ignore[index-error]
Description
I am getting a
SecretsUsedInArgOrEnv
warning on non-sensitive data.The variables are named
instance_types_file_key
andstatic_variables_file_key
. Since this is a refactor I can't rename them just like that and will have to live with the warning.It would be great if there was a way to annotate the line to acknowledge the false positive. For instance, some linters let you use
# noqa
at the minimum to disable these warnings, while some others are more specific e.g.# noqa: ignore[index-error]
The text was updated successfully, but these errors were encountered: