UP013, UP014: Comments inside the definition are dropped #9715
Labels
bug
Something isn't working
fixes
Related to suggested fixes for violations
help wanted
Contributions especially welcome
Starting with this code:
Ruff (via rules UP013 and UP014) turns it into:
Ideally it should retain the end-of-line comments.
The text was updated successfully, but these errors were encountered: