Skip to content

Commit

Permalink
Set up isort in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mgedmin committed Dec 8, 2020
1 parent ffdb16b commit 13cca67
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ jobs:
matrix:
toxenv:
- flake8
- isort

steps:
- name: Git clone
Expand Down
5 changes: 5 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,8 @@ commands =
deps = flake8
skip_install = true
commands = flake8 setup.py multiping.py

[testenv:isort]
deps = isort
skip_install = true
commands = isort {posargs: -c --diff multiping.py setup.py tests.py}

0 comments on commit 13cca67

Please sign in to comment.