-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
46 lines (39 loc) · 973 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
38
39
40
41
42
43
44
45
46
# 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{27,34,35,36},flake8
[testenv]
basepython =
py27: python2.7
py34: python3.4
py35: python3.5
py36: python3.6
flake8: python3.5
deps =
# check-manifest
readme_renderer
pytest
commands =
# check-manifest --ignore tox.ini,tests*
python setup.py check -m -r -s
pip install -e .
py.test pyp
[testenv:flake8]
skip_install = true
usedevelop = false
deps = flake8
commands = flake8 pyp
[flake8]
exclude = .tox,*egg,build,git,dist
select = E,W,F
max-line-length = 100
ignore = E265,E123,E133,E226,E241,E242