forked from JinnLynn/genpac
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
45 lines (41 loc) · 734 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
[tox]
envlist = pep8, py27, py34, py35, py36
skip_missing_interpreters = True
[testenv]
; usedevelop = true
whitelist_externals = bash
commands =
pytest
bash test/test.sh
genpac -v
deps =
pytest
pytest-cov
pytest-randomly
[testenv:pep8]
basepython = python2.7
commands = flake8
deps = flake8
[pytest]
testpaths = test
python_files = test_*.py
addopts=-s -v --cov=genpac --cov-report=term --cov-report=html
# -p no:randomly
[flake8]
; F401: imported but unused
; F841: assigned but never used
ignore = F401, F841
exclude =
genpac/publicsuffix,
genpac/pysocks,
test,
.tox,
.git,
__pycache__,
build,
dist,
*.pyc,
*.egg-info,
.cache,
.eggs
# max-complexity = 10