Skip to content

Commit 8d54055

Browse files
committed
added tox.ini
1 parent af9aa2d commit 8d54055

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

setup.cfg

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[flake8]
2+
ignore =
3+
max-line-length = 160
4+
statistics = True
5+
count = True
6+
7+
[build_sphinx]
8+
source-dir = docs/source
9+
build-dir = docs/_build
10+
all_files = 1
11+
12+
[upload_sphinx]
13+
upload-dir = docs/_build/html

tox.ini

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[tox]
2+
envlist = flake8, py{27,34,35,36,37}
3+
4+
[testenv]
5+
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
6+
deps =
7+
pytest
8+
coveralls
9+
python-dateutil>=2.8.0
10+
commands =
11+
coverage run --source=pytcher setup.py test
12+
coverage report -m
13+
coveralls
14+
15+
[testenv:flake8]
16+
basepython = python
17+
deps = flake8
18+
commands = flake8 pytcher tests setup.py

0 commit comments

Comments
 (0)