-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup.cfg
71 lines (67 loc) · 1.72 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
[flake8]
ignore =
# whitespace before ':'
E203,
# too many leading ### in a block comment
E266,
# line too long (managed by black)
E501,
# Line break occurred before a binary operator (this is not PEP8 compatible)
W503,
# do not enforce existence of docstrings
D100,
D101,
D102,
D103,
D104,
D105,
D106,
D107,
# needed because of https://github.com/ambv/black/issues/144
D202,
# other string does contain unindexed parameters
P103
max-line-length = 80
exclude = migrations snapshots
max-complexity = 10
[tool:isort]
skip=migrations,snapshots
known_first_party=emeis
multi_line_output=3
include_trailing_comma=True
force_grid_wrap=0
combine_as_imports=True
line_length=88
[tool:pytest]
addopts = --reuse-db --randomly-seed=1521188766 --randomly-dont-reorganize
DJANGO_SETTINGS_MODULE = emeis.settings
filterwarnings =
error::DeprecationWarning
error::PendingDeprecationWarning
# We don't use LocalizedAutoSlug, but it still keeps warning, so we ignore it for now
ignore:LocalizedAutoSlug is deprecated and will be removed in the next major version.
env =
ADMINS=Test Example <test@example.com>,Test2 <test2@example.com>
LANGUAGES=en,de,fr
OIDC_OP_USER_ENDPOINT=mock://emeis.github.com/openid/userinfo
OIDC_OP_INTROSPECT_ENDPOINT=mock://emeis.github.com/openid/introspect
OIDC_BEARER_TOKEN_REVALIDATION_TIME=60
[coverage:run]
source=.
[coverage:report]
fail_under=100
exclude_lines =
pragma: no cover
pragma: todo cover
def __str__
def __unicode__
def __repr__
omit=
*/migrations/*
*/apps.py
manage.py
setup.py
emeis/settings_*.py
emeis/wsgi.py
emeis/emeis_metadata.py
show_missing = True