-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
41 lines (36 loc) · 799 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
[tox]
envlist = pep8, py27, coverage
[testenv]
deps =
nose
mock
commands=nosetests
[testenv:coverage]
deps =
nose
mock
nose-cov
codecov>=1.4.0
passenv = CI TRAVIS_BUILD_ID TRAVIS TRAVIS_BRANCH TRAVIS_JOB_NUMBER TRAVIS_PULL_REQUEST TRAVIS_JOB_ID TRAVIS_REPO_SLUG TRAVIS_COMMIT
commands =
nosetests --with-cov --cov-report html --cov simplegenerator tests
codecov -e TOXENV
[testenv:readme]
deps =
docutils
pygments
commands =
rst2html.py --exit-status=2 README.rst ./README.html
[testenv:pep8]
deps =
flake8>=2.2.4
hacking>=0.9
usedevelop = False
commands =
flake8 simplegenerator tests examples
[flake8]
ignore = E501,H301,F401
exclude = *.yml,*.txt,*.in,*.rst,*.ini,*.egg,.env,.git,.tox
show-pep8 = True
show-source = True
count = True