-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.cfg
executable file
·93 lines (86 loc) · 1.73 KB
/
setup.cfg
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
#############################
##### Coverage settings #####
#############################
[coverage:report]
exclude_lines =
pragma: no cover
def __repr__
def __str__
except Exception
[coverage:run]
branch = True
omit =
*/apps.py
*/wsgi.py
*/settings.py
*/config.py
*/tests.py
*/manage.py
*/__init__.py
*/tests/*
*/venv/*
*/migrations/*
*/htmlcov/*
*.tox/*
[coverage:html]
title = PremierLangage Coverage
########################
##### Tox settings #####
########################
[tox:tox]
skipsdist = True
distshare = {homedir}/.tox/distshare
envlist = py{35,36,37,38}
skip_missing_interpreters = true
indexserver =
pypi = https://pypi.python.org/simple
[testenv]
passenv = TRAVIS TRAVIS_* *
setenv =
PYTHONPATH = {toxinidir}
DJANGO_SETTINGS_MODULE=premierlangage.settings
commands =
flake8 apps/ premierlangage/ --count
coverage run manage.py test
coverage report -m
deps =
-rrequirements.txt
django-extensions
psycopg2
selenium
coverage
flake8
py
pytest
pytest-pep8
coverage
pytest-cov
###########################
##### Flake8 settings #####
###########################
[flake8]
max-line-length = 100
exclude =
./apps/editor/compilers/pl/*
*/apps.py
*/wsgi.py
*/settings.py
*/config.py
*/tests.py
*/manage.py
*/__init__.py
*/tests/*
*/venv/*
*/migrations/*
*/htmlcov/*
*.tox/*
./apps/filebrowser/client/*
./apps/misc_tests/resources/*
./home/lib/*
*/resources/*
./apps/components/static/*
per-file-ignores =
*:W293 E303 E125
# W293 blank line contains whitespace
# E125 continuation line with same indent as next logical line
# E303 too many blank lines