flake8/tox.ini
Christian Long c3f5d144bc Add warnings when --jobs is invalid
Some platforms and options are not compatible with the --jobs option. For
example, it is not valid on Windows. Nor is it compatible with the --diff
option. This adds warnings when the --jobs option is supplied but is not
allowed.
2015-03-06 14:45:33 -06:00

40 lines
695 B
INI

[tox]
minversion = 1.6
envlist =
py25,py26,py27,py32,py33,py34,py27-flake8,py34-flake8
[testenv]
usedevelop = True
deps =
nose
mock
commands =
python setup.py test -q
python setup.py flake8
nosetests flake8.tests.toast_warnings
[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