• Motivation
  • Lint Checks
  • Python Guidelines
  • Base Guidelines
  • Exceptions, Clarifications, and Additions:
  • Auto-formatting is your friend.
  • Limit lines to 79 characters.
  • Avoid wildcard imports.
  • Importing classes/functions is ok.
  • Use descriptive public names.
  • It's ok to use staticmethod.
  • Don't explicitly inherit from object.
  • Use f-strings.
  • Avoid backslashes for line continuation.
  • Influence code layout with trailing commas.
  • Handle 'Existable' objects with care.
  • Expose complete, strong types by default.
  • C++ Guidelines
  • Base Guidelines
  • Exceptions, Clarifications, and Additions:
  • C++ Exceptions Allowed
  • Private Function Names
  • Getter/Setter Function Names