Add isort configuration

Closes witten/borgmatic#169.
This commit is contained in:
Luke Murphy 2019-05-13 23:38:43 +02:00
commit b94dbff216
No known key found for this signature in database
GPG key ID: 5E2EF5A63E3718CC
4 changed files with 18 additions and 0 deletions

View file

@ -13,6 +13,7 @@ install_command =
commands =
pytest
sh scripts/black
sh scripts/isort
flake8 .
[testenv:black]
@ -24,3 +25,8 @@ commands =
deps = -rtest_requirements.txt
commands =
pytest tests/end-to-end
[testenv:isort]
deps = {[testenv]deps}
commands =
isort {posargs:--recursive} --settings-path setup.cfg .