-
Notifications
You must be signed in to change notification settings - Fork 32
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
Style guidelines. #54
Comments
Do you know any other python project that have the "Blank lines must have the same indentation level as the immediately following non-blank line" rule? Or for that matter the rest of the guide. I'm just trying to automate my toolset and would appreciate hints on how other have configured their linters etc. |
I don't know of any other python projects, period. |
Regarding the indentation, I'm still trying to figure out how pylint checkers work in order to make one to correctly handle the indenting, as well as setting up pylint to conform to the style being used in TD, such as naming conventions, etc. I'm not finding very good documentation on how checkers work, and the custom_raw.py example isn't much help, but I did manage to figure out how to correctly automate the indentation using
|
As this is written in Python 3.x, using PEP 8 as the style guide makes the most sense, no? |
Except as the above differs from that, sure. |
How can |
Typo, I think |
Indentation
Suggested Maximum Line Length
Blank Lines
Whitespace in Expressions and Statements
Avoid extraneous whitespace in the following situations:
More than one space around an assignment (or other) operator to align it with another.
Yes:
For everything else you might think of, refer to PEP8 as completely optional style advice except where it contradicts the above.
The text was updated successfully, but these errors were encountered: