We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$ cat xxx.py xxxxxxxxxxx_xxxxx_xxxxx = sorted( list(x_xxxx_xxxxxxxxxxx_xxxxx.xxxx()), # xxxxxxxxxxx xxxxx xxxx xxx xx Nxxx, xxx xxxxxx3 xxxxxxxxx xx # xx xxxx xxxxxxx xxxx xxx xxxxxxxx Nxxx key=lambda xxxxx: xxxxx or "", ) $ python -m ruff --version ruff 0.0.292 $ python -m ruff check --isolated --select=C414 --fix --diff xxx.py --- xxx.py +++ xxx.py @@ -1,6 +1,3 @@ xxxxxxxxxxx_xxxxx_xxxxx = sorted( - list(x_xxxx_xxxxxxxxxxx_xxxxx.xxxx()), - # xxxxxxxxxxx xxxxx xxxx xxx xx Nxxx, xxx xxxxxx3 xxxxxxxxx xx - # xx xxxx xxxxxxx xxxx xxx xxxxxxxx Nxxx - key=lambda xxxxx: xxxxx or "", + x_xxxx_xxxxxxxxxxx_xxxxx.xxxx(), key=lambda xxxxx: xxxxx or "", ) Would fix 1 error.
The text was updated successfully, but these errors were encountered:
Thanks. We handle these fixes manually with LibCST. We should be able to preserve the comments.
Sorry, something went wrong.
Preserve trailing comments in C414 fixes (#7775)
c040fac
Closes #7772.
Thanks for the quick fixes on both of my issues!
Thanks for filing, appreciate it!
charliermarsh
Successfully merging a pull request may close this issue.
The text was updated successfully, but these errors were encountered: