Follow PEP8 as well as possible
If not too inconvenient, try to stay at a 80 char length per line
-
When arguments are separated with commas, add a space after each comma, as such: 'k = Object(a, b, c)' not 'k = Object(a,b,c)'
-
Predefined arguments should be set without spaces between the equals symbol and the value 'o = Obj(name='hello')' not 'o = Obj(name = 'hello')'
- Do not use wildcard (*) imports if unnecessary
- optional sha-bang (#!)
- empty line
- imports from the project
- empty line
- external library imports
- empty line
- code goes here
- #!/usr/bin/python3
- import errors
- import pdf_parser
- import os
- class TestClass(object):
- ...