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
It is documented in the changelog under rule changes but I should have mentioned it in the breaking changes section, to make it more visible. Let me update the changelog real quick
[flake8-bandit] Modify diagnostic ranges for shell-related rules (#10667)
@MichaReiser Thanks for the swift response and for updating the changelog! I did not know about the --add-noqa flag, that's pretty helpful! Will you take care of closing this issue once the changelog got updated?
I've searched for the following keywords before opening this issue:
noqa
,S603
,S602
subprocess
Ruff in version
0.4.10
will not complain about the following snippet:However, when using
0.5.0
it will complain withMoving the
noqa
directive to the line wheresubprocess.run
is called will make it succeed:For completeness, below is the content of the full example file:
The text was updated successfully, but these errors were encountered: