-
Notifications
You must be signed in to change notification settings - Fork 158
Fix function params indentation #833
New issue
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
Conversation
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
fujitatomoya
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm.
just curious, this kind of mis-indent can be checked by some static analyzer like linter?
|
Pulls: #833 |
|
https://github.com/Mergifyio backport jazzy |
✅ Backports have been created
|
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com> (cherry picked from commit 151b024)
Ideally yes, but I noticed this before and my conclusion was that it's somehow (1) not caught by linters and (2) still working even though indentation is important in Python. |
Fix function params indentation (backport #833)
Turns out that this is totally allowed by PEP 8, see https://peps.python.org/pep-0008/#indentation |
This is what I could find with a quick search, but there might be more.