mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-30 18:56:53 +00:00
Tox remove py25 Now maybe py25 is important to support and maybe you have a CI process that installs some older version of tox so that you can test Python 2.5, in which case you can close this, though if that's the case then maybe we should make a note of that fact and what version of tox to use, etc. See merge request !22
38 lines
639 B
INI
38 lines
639 B
INI
[tox]
|
|
minversion = 1.6
|
|
envlist =
|
|
py26,py27,py32,py33,py34,py27-flake8,py34-flake8
|
|
|
|
[testenv]
|
|
usedevelop = True
|
|
deps =
|
|
mock
|
|
commands =
|
|
python setup.py test -q
|
|
python setup.py flake8
|
|
|
|
[testenv:py27-flake8]
|
|
basepython = python2.7
|
|
deps =
|
|
flake8
|
|
commands = flake8 {posargs} flake8/
|
|
|
|
[testenv:py34-flake8]
|
|
basepython = python3.4
|
|
deps =
|
|
flake8
|
|
commands = flake8 {posargs} flake8/
|
|
|
|
[testenv:release]
|
|
basepython = python2.7
|
|
deps =
|
|
twine >= 1.4.0
|
|
wheel
|
|
commands =
|
|
python setup.py sdist bdist_wheel
|
|
twine upload {posargs} dist/*
|
|
|
|
[flake8]
|
|
select = E,F,W
|
|
max_line_length = 79
|
|
exclude = .git,.tox,dist,docs,*egg
|