Writing Python Code - TypeClub/opentypefea GitHub Wiki

Please code using the PEP8 standard.
This is extremely important as we will all be writing the same code and conforming to one style will prevent issues.

Spaces Not Tabs. In Python 3, you cannot mix spaces and tabs. I would recommend you set your text editor to use 'soft tabs' and set your tab length to 4. Soft tabs will insert the number of spaces your tab length is set to instead of a tab indentation.

Limit your line length to 79 characters. The preferred way of wrapping long lines is by using Python’s implied line continuation inside parentheses, brackets and braces. Long lines can be broken over multiple lines by wrapping expressions in parentheses. These should be used in preference to using a backslash for line continuation.