Skip to content

Commit

Permalink
update: fix cli options 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 9a917bc commit af3aab7
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 @@ -7,7 +7,6 @@ exclude = bin/,.tox/,examples/
ignore = W605,F401

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

Expand Down
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,20 @@ commands =

[testenv:fmt]
deps =
isort
isort>=5.0.0
autopep8
commands =
isort --recursive --atomic {posargs:synse_server tests}
isort --atomic {posargs:synse_server tests}
autopep8 --recursive --in-place {toxinidir}


[testenv:lint]
deps =
isort
isort>=5.0.0
flake8
twine>=1.12.0
commands =
isort -rc -c --diff {posargs:synse_server tests}
isort --check --diff {posargs:synse_server tests}
flake8 --show-source --statistics {posargs:synse_server tests}
python setup.py sdist bdist_wheel
twine check dist/*

0 comments on commit af3aab7

Please sign in to comment.