Skip to content

Commit

Permalink
update: fix arguments for new version of isort
Browse files Browse the repository at this point in the history
  • Loading branch information
edaniszewski committed Jul 7, 2020
1 parent 650067c commit 507e27f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
universal = 1

[isort]
not_skip = __init__.py
default_section = THIRDPARTY
known_first_party = kubetest,tests

Expand Down
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -61,22 +61,22 @@ commands=
description=
run basic formatting tools against the source code
deps=
isort
isort>=5.0.0
autopep8
commands=
isort --recursive --atomic {posargs:kubetest tests}
isort --atomic {posargs:kubetest tests}
autopep8 --recursive --in-place --exclude=conf.py {toxinidir}
[testenv:lint]
description=
run linting checks against the source code
deps=
isort
isort>=5.0.0
flake8
twine>=1.12.0
commands=
isort -rc -c --diff {posargs:kubetest tests}
isort --check --diff {posargs:kubetest tests}
flake8 --show-source --statistics {posargs:kubetest tests}
python setup.py sdist bdist_wheel
twine check dist/*
Expand Down

0 comments on commit 507e27f

Please sign in to comment.