forked from astrofrog/mpl-scatter-density
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
37 lines (34 loc) · 910 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[tox]
envlist =
py{36,37,38,39,310,311}-test{,-image}
codestyle
requires =
setuptools >= 30.3.0
pip >= 19.3.1
isolated_build = true
[testenv]
setenv =
image: MPLFLAGS = --mpl
!image: MPLFLAGS =
changedir = .tmp/{envname}
deps =
mpl30: matplotlib==3.0.*
mpl31: matplotlib==3.1.*
mpl32: matplotlib==3.2.*
mpl33: matplotlib==3.3.*
mpl34: matplotlib==3.4.*
mpl35: matplotlib==3.5.*
mpl36: matplotlib==3.6.*
mpl37: matplotlib==3.7.*
mpldev: git+https://github.com/matplotlib/matplotlib.git#egg=matplotlib
extras =
test
commands =
pip freeze
pytest --pyargs mpl_scatter_density {env:MPLFLAGS} --cov mpl_scatter_density --cov-config={toxinidir}/setup.cfg {posargs}
[testenv:codestyle]
skip_install = true
description = check code style
deps = flake8
changedir = {toxinidir}
commands = flake8 mpl_scatter_density --count --max-line-length=100