forked from PythonicNinja/pydrill
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
37 lines (29 loc) · 899 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
[tox]
envlist = check-isort, check-flake8, py26, py27, py33, py34, py35, py36, pypy
skipsdist = True
[testenv]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/pydrill
passenv =
PYDRILL_HOST
PYDRILL_PORT
deps =
-rrequirements_testing.txt
commands =
py.test -vv tests/ {posargs:--cov=pydrill --cov-report=term-missing}
[testenv:check-isort]
# isort configurations are located in setup.cfg
deps = isort==4.2.2
commands = isort -rc -c pydrill
[testenv:run-isort]
# isort configurations are located in setup.cfg
deps = isort==4.2.2
commands = isort -rc pydrill
[testenv:check-flake8]
# flake8 configurations are located in setup.cfg
deps = flake8==2.5.1
commands = flake8 pydrill
; If you want to make tox run the tests with the same versions, create a
; requirements.txt with the pinned versions and uncomment the following lines:
; deps =
; -r{toxinidir}/requirements.txt