forked from AmalieVistoft/mssqlcli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
54 lines (46 loc) · 972 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
47
48
49
50
51
52
53
54
[tox]
envlist = py27,py34,py35,pep8,py3pep8
skip_missing_interpreters=true
[testenv]
deps=-rtox-requirements.txt
setenv=
PYTHONWARNINGS=all
[pytest]
adopts=--doctest-modules
python_files=*.py
python_functions=test_
norecursedirs=.tox .git venv
[testenv:py27]
commands=
coverage run -m pytest -v --strict mssqlcli
coverage report -m --fail-under 100
[testenv:py34]
commands=
coverage run -m pytest -v --strict mssqlcli
coverage report -m --fail-under 100
[testenv:py35]
commands=
coverage run -m pytest -v --strict mssqlcli
coverage report -m --fail-under 100
[testenv:pep8]
basepython = python2
deps =
-rtox-requirements.txt
flake8
flake8-import-order
pep8-naming
commands =
flake8 .
[testenv:py3pep8]
basepython = python3
deps =
-rtox-requirements.txt
flake8
flake8-import-order
pep8-naming
commands =
flake8 .
[flake8]
exclude = .tox,*.egg,*venv*
select = E,W,F,N,I
import-order-style = smarkets