Skip to content

Commit 0d65d5f

Browse files
committed
Specify paths for mypy and flake8 in tox
1 parent 9b6f20c commit 0d65d5f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ commands = pytest -v --cov labels {posargs:tests}
1616

1717
[testenv:flake8]
1818
deps = flake8
19-
commands = flake8
19+
commands = flake8 {toxinidir}/setup.py {toxinidir}/src/ {toxinidir}/tests/
2020

2121
[testenv:mypy]
2222
deps =
2323
mypy
2424
types-requests
25-
commands = mypy {toxinidir}/setup.py {toxinidir}/src/
25+
commands = mypy {toxinidir}/setup.py {toxinidir}/src/ {toxinidir}/tests/

0 commit comments

Comments
 (0)