Skip to content

Commit

Permalink
Merge pull request #31 from retr0h/run-lint-once
Browse files Browse the repository at this point in the history
Lint only needs to run once
  • Loading branch information
retr0h authored Mar 7, 2019
2 parents 961f808 + eec90f7 commit 3c3ba25
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
[tox]
minversion = 1.8
envlist =
py{27,34,34,36}-unit
py{27,34,35,36}-lint
py{27,34,35,36}-unit
lint
format-check
doc
skipsdist = true

[travis]
python =
2.7: py27-unit, py27-lint, format-check, bats
3.4: py34-unit, py34-lint, format-check, bats
3.5: py35-unit, py35-lint, format-check, bats
3.6: py36-unit, py36-lint, format-check, bats
2.7: py27-unit, lint, format-check, bats
3.4: py34-unit, lint, format-check, bats
3.5: py35-unit, lint, format-check, bats
3.6: py36-unit, lint, format-check, bats

[testenv]
passenv = *
Expand All @@ -22,7 +22,10 @@ deps =
-rrequirements-test.txt
commands =
unit: py.test -vv
lint: flake8

[testenv:lint]
commands =
flake8

[testenv:format]
commands =
Expand Down

0 comments on commit 3c3ba25

Please sign in to comment.