setup: tox prep for upcoming black updates
[git-cola.git] / tox.ini
blob4dff230e68a0374738eb0cf63aa2b45ded38c12b
1 [tox]
2 minversion = 3.2
3 envlist = py{27,34,35,36,37,38,39}
4 # https://github.com/jaraco/skeleton/issues/6
5 tox_pip_extensions_ext_venv_update = true
6 # Ensure that a late version of pip is used even on tox-venv.
7 requires =
8 tox-pip-version>=0.0.6
9 tox-venv
11 [testenv]
12 sitepackages = true
13 deps =
14 -rrequirements/requirements.txt
15 -rrequirements/requirements-dev.txt
16 pip_version = pip
17 whitelist_externals =
18 make
19 commands =
20 make test {posargs}
21 make flake8 {posargs}
22 usedevelop = True
23 extras =
24 testing
26 [testenv:pylint2]
27 basepython = python2.7
28 sitepackages = true
29 deps = {[testenv]deps}
30 whitelist_externals =
31 make
32 commands =
33 make pylint {posargs}
34 make pylint3k {posargs}
36 [testenv:pylint36]
37 basepython = python3.6
38 sitepackages = true
39 deps = {[testenv]deps}
40 whitelist_externals =
41 make
42 commands =
43 make pylint {posargs}
44 make pylint3k {posargs}
46 [testenv:pylint37]
47 basepython = python3.7
48 sitepackages = true
49 deps = {[testenv]deps}
50 whitelist_externals =
51 make
52 commands =
53 make pylint {posargs}
54 make pylint3k {posargs}
56 [testenv:pylint38]
57 basepython = python3.8
58 sitepackages = true
59 deps = {[testenv]deps}
60 whitelist_externals =
61 make
62 commands =
63 make pylint {posargs}
64 make pylint3k {posargs}
66 [testenv:pylint39]
67 basepython = python3.9
68 sitepackages = true
69 deps = {[testenv]deps}
70 whitelist_externals =
71 make
72 commands =
73 make pylint {posargs}
74 make pylint3k {posargs}