forked from projectcaluma/caluma
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
72 lines (68 loc) · 1.63 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
[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,
max-line-length = 88
exclude = migrations snapshots
max-complexity = 10
doctests = False
[tool:isort]
skip=migrations,snapshots
known_first_party=caluma
known_third_party=dateparser
multi_line_output=3
include_trailing_comma=True
force_grid_wrap=0
combine_as_imports=True
line_length=88
[tool:pytest]
addopts = -n auto --reuse-db --randomly-seed=1521188766 --randomly-dont-reorganize
DJANGO_SETTINGS_MODULE = caluma.settings.django
env =
META_FIELDS=test-key,foobar
OIDC_USERINFO_ENDPOINT=mock://caluma.io/openid/userinfo
OIDC_INTROSPECT_ENDPOINT=mock://caluma.io/openid/introspect
OIDC_BEARER_TOKEN_REVALIDATION_TIME=60
LANGUAGES=en,de,fr
ENABLE_HISTORICAL_API=true
ENABLE_ACCESS_LOG=true
filterwarnings =
# switch this back to error::DeprecationWarning when we upgraded graphene-django
ignore::DeprecationWarning
error::PendingDeprecationWarning
[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
caluma/settings_*.py
caluma/wsgi.py
caluma/caluma_metadata.py
show_missing = True