-
-
Notifications
You must be signed in to change notification settings - Fork 398
Coding Conventions
Nico von Geyso edited this page May 18, 2013
·
5 revisions
Try to keep lines less than 80 characters long. This is a loose requirement, but going significantly over 80 columns is not nice. Indent with 4 spaces. Avoid trailing whitespace and only commit Unix-style newlines (i.e. no CRLF in the repository - just set core.autocrlf to true if you are writing code on a Windows machine). (copy/pasta from libgit2 with indentation exception)
We use PEP8 coding convetions. See python.org for a detailed instruction.