Skip to content

Commit

Permalink
Amend isort job
Browse files Browse the repository at this point in the history
  • Loading branch information
jieter committed Oct 29, 2020
1 parent 940f795 commit 59d0586
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
python-version: 3.8
- uses: actions/checkout@v1
- run: python -m pip install tox
- run: tox -e isort
- run: python -m pip install -r requirements/common.pip isort==5.6.4
- run: isort --diff --check django_tables2 test

tests:
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ commands = black --check .
basepython = python3.8
deps =
-r requirements/common.pip
isort==4.3.21
commands = isort --diff --check --recursive {toxinidir}
isort==5.6.4
commands = isort --diff --check django_tables2 test

[isort]
multi_line_output = 3
Expand Down

0 comments on commit 59d0586

Please sign in to comment.