Skip to content

Commit 2edda86

Browse files
committed
More improvements to tox set-up
1 parent 168ae50 commit 2edda86

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

setup.cfg

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,9 @@ install_requires =
2929
[options.entry_points]
3030
pytest11 =
3131
pytest_mpl = pytest_mpl.plugin
32+
33+
[options.extras_require]
34+
test =
35+
pytest-cov
36+
matplotlib
37+
pillow

tox.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@ deps =
1616
mpl30: matplotlib==3.0.*
1717
mpl31: matplotlib==3.1.*
1818
mpldev: git+https://github.com/matplotlib/matplotlib.git#egg=matplotlib
19+
extras =
20+
test
1921
commands =
2022
pip freeze
21-
cov: pytest {toxinidir}/tests --cov pytest_mpl --cov-config={toxinidir}/setup.cfg {posargs}
23+
pytest {toxinidir}/tests --cov pytest_mpl --cov-config={toxinidir}/setup.cfg {posargs}
2224

2325
[testenv:codestyle]
2426
skip_install = true

0 commit comments

Comments
 (0)