Skip to content

Commit 42fc76f

Browse files
authored
Merge pull request #33 from jdufresne/tox-deps
Simplify dependency handling in tox.ini When tox runs, it installs the project and its dependencies. There is no need to respecify the dependencies listed in setup.py in tox.ini. This ensures that the dependencies listed in setup.py are correct and tests pass when they are used.
2 parents 9ab6e88 + 30f8cf0 commit 42fc76f

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

tox.ini

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,8 @@ envlist=
88
max-line-length= 100
99
exclude= tests/*
1010

11-
[base]
12-
deps =
13-
-r{toxinidir}/requirements-dev.txt
14-
1511
[testenv]
16-
deps =
17-
{[base]deps}
12+
deps = pytest
1813
commands=py.test --tb native {posargs:tests}
1914

2015
[testenv:flake8]

0 commit comments

Comments
 (0)