Register __ as a dummy variable
#10840
winstxnhdw
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
ruffhas a default Regex for recognising dummy variables in Python. See https://docs.astral.sh/ruff/settings/#lint_dummy-variable-rgx.I often find myself writing something like this because I just want to let my
argsorkwargspassthrough.It would be nice if we added a setting similar to
ruffthat will let us set this behaviour.Beta Was this translation helpful? Give feedback.
All reactions