Skip to content

Commit

Permalink
Simplify tox environments (#93)
Browse files Browse the repository at this point in the history
Fixes: #69
  • Loading branch information
retr0h authored Mar 16, 2020
1 parent 7b436d4 commit 528bd08
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
[tox]
minversion = 1.8
envlist =
py{36,37}-unit
py{36,37}-lint
format-check
lint
py{36,37}
doc
skip_missing_interpreters = true

[gh-actions]
python =
Expand All @@ -14,13 +15,16 @@ python =
[testenv]
passenv = *
commands =
unit: py.test --runslow -vv {posargs}
lint: flake8
py.test --runslow -vv {posargs}
setenv =
COVERAGE_FILE={toxworkdir}/.coverage
extras =
test

[testenv:lint]
commands =
python -m flake8

[testenv:format]
commands =
python -m black {toxinidir}
Expand Down

0 comments on commit 528bd08

Please sign in to comment.