Skip to content

Commit

Permalink
Scope tox commands to not accidentally pick up unrelated python
Browse files Browse the repository at this point in the history
files/tests/etc
  • Loading branch information
mattrasband authored and ovv committed Aug 4, 2019
1 parent bb84777 commit 4030eb8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ skipsdist = true

[testenv]
deps = -r requirements/testing.txt
commands = python -m pytest --verbose --cov=pyslackersweb/ --cov-report=term-missing --junit-xml={envdir}/artifacts/test-results.xml
commands = python -m pytest --verbose --cov=pyslackersweb/ --cov-report=term-missing --junit-xml={envdir}/artifacts/test-results.xml tests/

[testenv:lint]
deps =
-r requirements/testing.txt
commands =
pylint pyslackersweb
mypy . --ignore-missing-imports
pylint ./pyslackersweb
mypy ./pyslackersweb --ignore-missing-imports

[testenv:fmt]
deps = black
commands = black --check .
commands = black --check pyslackersweb/ tests/

0 comments on commit 4030eb8

Please sign in to comment.