Skip to content

Commit 5faa0a7

Browse files
committed
test: move test dependencies to tox.ini files
Move test dependencies to `tox.ini` file to allow the removal of the `requirements` directory. Signed-off-by: Roald Nefs <info@roaldnefs.com>
1 parent 66a88a9 commit 5faa0a7

2 files changed

Lines changed: 7 additions & 9 deletions

File tree

requirements/tests.txt

Lines changed: 0 additions & 4 deletions
This file was deleted.

tox.ini

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,14 @@
77
envlist = {py36,py37,py38,py39}-install,mypy,pep8
88

99
[testenv]
10-
deps = -rrequirements/tests.txt
10+
deps =
11+
mypy
12+
pytest
13+
flake8
14+
responses
1115
commands =
12-
pytest tests {posargs}
13-
mypy --config-file=tox.ini transip tests
16+
pytest tests {posargs}
17+
mypy --config-file=tox.ini transip tests
1418

1519
[testenv:pep8]
1620
commands =
@@ -42,5 +46,3 @@ commands = {[testenv:install]commands}
4246

4347
[flake8]
4448
exclude = .git,.venv,.tox,dist,doc,*egg,build,
45-
; max-line-length = 88
46-
; ignore = H501,H803

0 commit comments

Comments
 (0)