Skip to content
This repository was archived by the owner on Dec 8, 2023. It is now read-only.

Commit 819a0f2

Browse files
committed
Do not install mypy and black with py35
1 parent 164b96e commit 819a0f2

3 files changed

Lines changed: 14 additions & 7 deletions

File tree

dev-requirements.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,3 @@ black
22
flake8
33
isort
44
mypy
5-
pytest<5.4
6-
pytest-cache
7-
pytest-cov
8-
pytest-sugar
9-
pytest-xdist
10-
tox

test-requirements.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pytest<5.4
2+
pytest-cache
3+
pytest-cov
4+
pytest-sugar
5+
pytest-xdist
6+
tox

tox.ini

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,16 @@ envlist = py35,py36,py37,py38,flake8
55
commands =
66
mypy --ignore-missing-imports --scripts-are-modules alma
77
pytest tests --cov-report term-missing --cov alma {posargs} # --cov-fail-under 100
8-
deps = -rdev-requirements.txt
8+
deps =
9+
-rtest-requirements.txt
10+
-rdev-requirements.txt
911
install_command = pip install {opts} {packages}
1012

13+
[testenv:py35]
14+
commands =
15+
pytest tests --cov-report term-missing --cov alma {posargs} # --cov-fail-under 100
16+
deps = -rtest-requirements.txt
17+
1118
[testenv:flake8]
1219
commands = flake8 alma
1320
deps =

0 commit comments

Comments
 (0)