Skip to content

Commit

Permalink
Update tox
Browse files Browse the repository at this point in the history
  • Loading branch information
cthoyt committed May 8, 2018
1 parent 5c51745 commit 81654b6
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,39 @@ max-complexity = 10
import-order-style = google
application-import-names = flake8
format = ${cyan}%(path)s${reset}:${yellow_bold}%(row)d${reset}:${green_bold}%(col)d${reset}: ${red_bold}%(code)s${reset} %(text)s

[testenv:pylint]
basepython = python3
deps =
pyflakes
pylint
commands =
pylint src/bio2bel_drugbank

[testenv:doc8]
basepython = python3
skip_install = true
deps =
sphinx
doc8
commands =
doc8 docs/source/

[testenv:build]
basepython = python3
skip_install = true
deps =
wheel
setuptools
commands =
python setup.py -q sdist bdist_wheel

[testenv:release]
basepython = python3
skip_install = true
deps =
{[testenv:build]deps}
twine >= 1.5.0
commands =
{[testenv:build]commands}
twine upload --skip-existing dist/*

0 comments on commit 81654b6

Please sign in to comment.