Commit Graph

3 Commits

Author SHA1 Message Date
Mike Young
d7279a73a7 Massive code refactoring, and some test rewrites. 2019-11-15 14:45:42 -05:00
Jon Banafato
98c0a4fc3d Use isort
[isort](https://isort.readthedocs.io/en/latest/) sorts your Python
imports so you don't have to. This makes sure that imports are always
where they should be and prevents issues like duplicated imports and
merge conflicts. Using pre-commit, this can be done automatically
without any manual steps.

Depends on #9.
2019-11-09 10:45:01 -05:00
Jon Banafato
df4dd93347 Use pre-commit
[pre-commit](https://pre-commit.com/) automatically runs tools like
linters and fixers to make development easier. This change adds a simple
pre-commit config file with an example trailing whitespace fixer and
applies it to the existing project.

Additionally, don't ignore the lib directory (an error introduced in #8).
2019-11-09 10:35:32 -05:00