-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
37 lines (34 loc) · 913 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
# this file is *not* meant to cover or endorse the use of tox or pytest or
# testing in general,
#
# It's meant to show the use of:
#
# - check-manifest
# confirm items checked into vcs are in your sdist
# - python setup.py check (using the readme_renderer extension)
# confirms your long_description will render correctly on pypi
#
# and also to help confirm pull requests to this project.
[tox]
# envlist = py{26,27,33,34} # update later to support python3
envlist = py27
[testenv]
basepython =
py26: python2.6
py27: python2.7
py33: python3.3
py34: python3.4
deps =
check-manifest
{py27,py33,py34}: readme_renderer
flake8
pytest
commands =
check-manifest --ignore tox.ini,tests*
# py26 doesn't have "setup.py check"
{py27,py33,py34}: python setup.py check -m -r -s
flake8 .
py.test tests
[flake8]
exclude = .tox,*.egg,build,data
select = E,W,F