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.
This commit is contained in:
Jon Banafato
2019-11-09 10:45:01 -05:00
parent df4dd93347
commit 98c0a4fc3d
10 changed files with 40 additions and 10 deletions

10
pyproject.toml Normal file
View File

@@ -0,0 +1,10 @@
[tool.isort]
force_grid_wrap = 0
include_trailing_comma = true
line_length = 88
multi_line_output = 3
use_parentheses = true
# NOTE: the known_third_party setting is managed by
# seed-isort-config and should not be modified directly.
# Any changes made to this setting will be overwritten.
known_third_party = ["PIL", "bs4", "requests"]