Ruff autofix for subprocess.run(..., check=...)
may be misleading; PLW1510 silently fixed even when not reported (with tool.ruff.fix = true
)
#17087
-
I was hinted by Naturally,
and
I am also reading from the docs, that I am assuming, that "Fix is always available" means that: It seems that (related pylint issue: pylint-dev/pylint#2848) The alternative that I was really expecting was Additionally, I have set However, I am also blindsided by the fact that
Instead of "blindly" fixing *: ... which isn't on the default ruleset, but also |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Luke-warm-ingly interesting, |
Beta Was this translation helpful? Give feedback.
-
Thanks for raising this. I think we should remove the fix entirely because the purpose of this rule is that the user makes a deliberate choice and Ruff can't make this choice for you |
Beta Was this translation helpful? Give feedback.
Thanks for raising this. I think we should remove the fix entirely because the purpose of this rule is that the user makes a deliberate choice and Ruff can't make this choice for you