Skip to content

Commit 4292f0a

Browse files
committed
Combine mypy and lint environments
1 parent 244281b commit 4292f0a

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

tox.ini

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,16 +42,12 @@ commands=
4242
[testenv:lint]
4343
deps=flake8
4444
flake8-import-order
45+
mypy
46+
pytest
4547
skip_install=True
4648
commands =
4749
flake8 src tests setup.py benchmark.py
48-
49-
[testenv:mypy]
50-
# pytest dep needed for mypy check
51-
deps=mypy
52-
pytest
53-
commands =
54-
mypy src/ tests/
50+
mypy src/ tests
5551

5652
[testenv:twine_check]
5753
deps=wheel

0 commit comments

Comments
 (0)