forked from PremierLangage/sandbox
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.cfg
More file actions
74 lines (65 loc) · 1.33 KB
/
setup.cfg
File metadata and controls
74 lines (65 loc) · 1.33 KB
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
########################
##### Tox settings #####
########################
[tox:tox]
distshare = {homedir}/.tox/distshare
envlist = py{38,39}
skipsdist = true
skip_missing_interpreters = true
indexserver =
pypi = https://pypi.python.org/simple
[testenv]
passenv =
TRAVIS
TRAVIS_*
*
setenv =
PYTHONPATH = {toxinidir}
DJANGO_SETTINGS_MODULE = settings
commands =
pycodestyle sandbox/ settings.py
coverage run --source=. manage.py test -v3
coverage xml
coverage report
deps =
-rrequirements.txt
pytest-pep8
pytest-cov
coverage
pycodestyle
####################################
##### PEP 8 & PEP 257 settings #####
####################################
[pycodestyle]
count = True
# https://pycodestyle.pycqa.org/en/latest/intro.html#error-codes
ignore = E303,W293,E241,W503,E701
max-line-length = 100
max-doc-length = 100
[tool:pytest]
addopts = -vvl
#############################
##### Coverage settings #####
#############################
[coverage:report]
exclude_lines =
pragma: no cover
def __repr__
def __str__
except Exception
except DockerException
[coverage:run]
branch = True
omit =
virtualenv/*
venv/*
htmlcov/*
.tox/*
libs/*
manage.py
wsgi.py
settings.py
sandbox/apps.py
sandbox/tests/*
[coverage:html]
title = Sandbox Coverage