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