Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Add isort import style linter #217
As discussed in #212 (comment), this pull request adds the isort linter to ensure that all the import styles are always consistent.
The linter is configured to follow the PEP-8 import style such as having separate blocks for standard library, third party and own imports, etc. Additionally, the linter is configured to force imports to be one per line to ensure that diffs are clean (e.g. adding or removing an import will be an easily visible full line diff instead of intermingled with other imports).
Editor plugins to automatically run isort are also available.