Python Standards¶
Just follow the conventions in PEP 8. A couple of the most important notes are:
Classes:
PascalCaseVariables:
snake_casevariable names4 space indentation
Everything in the general standards section still applies, and if there is a conflict between PEP 8 and what’s specified in this document, this document takes priority.
Formatting¶
Formatter¶
Use the Black formatter with default settings.