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
ruff check fix E305 "blank-lines-after-function-or-class" adds incorrectly placed newlines in ruff version 0.4.4
0.4.4
input code:
class A: pass # ====== Cool constants ======== BANANA = 100 APPLE = 200
cmd: ruff check --fix --select=E305 tmp.py --isolated --preview
ruff check --fix --select=E305 tmp.py --isolated --preview
output:
Expected output:
Could this rule mistakenly identifying the comment as belonging to the class even if the indentation should tell otherwise?
The text was updated successfully, but these errors were encountered:
a3e67ab
charliermarsh
Successfully merging a pull request may close this issue.
ruff check fix E305 "blank-lines-after-function-or-class" adds incorrectly placed newlines in ruff version
0.4.4
input code:
cmd:
ruff check --fix --select=E305 tmp.py --isolated --preview
output:
Expected output:
Could this rule mistakenly identifying the comment as belonging to the class even if the indentation should tell otherwise?
The text was updated successfully, but these errors were encountered: