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
I think I'm seeing some buggy behavior with the COM812 rule (running ruff v0.0.267).
Minimal example:
from collections import namedtuple foo = namedtuple( name="foo", status="bar", message="sfdsdfsdgs fsdfsdf output!dsfdfsdjkg ghfskdjghkdssd sd fsdf s\n"[ :20 ], )
Ruff returns error: 7:13: COM812 [*] Trailing comma missing. ruff --fix inserts a comma after :20 which is a TypeError.
7:13: COM812 [*] Trailing comma missing
ruff --fix
:20
The text was updated successfully, but these errors were encountered:
Thanks for reporting!
Sorry, something went wrong.
I can work on it.
JonathanPlasse
Successfully merging a pull request may close this issue.
I think I'm seeing some buggy behavior with the COM812 rule (running ruff v0.0.267).
Minimal example:
Ruff returns error:
7:13: COM812 [*] Trailing comma missing
.ruff --fix
inserts a comma after:20
which is a TypeError.The text was updated successfully, but these errors were encountered: