Skip to content

Change Default Variable Name of The Auto-Fix of EM101 #15304

Answered by MichaReiser
remchuk asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @remchuk

I can see how this is annoying, but I don't think introducing this option is the right solution. Instead, I'd rather improve our IDE support so that Ruff automatically selects the msg variable after applying the fix in "rename-mode" so that you can either hit enter (accept the name as is) or rename the variable however you like.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@remchuk
Comment options

Answer selected by remchuk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants