forked from projectcaluma/alexandria
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
69 lines (65 loc) · 1.55 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
[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=alexandria
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
DJANGO_SETTINGS_MODULE = alexandria.settings
filterwarnings =
error::DeprecationWarning
error::PendingDeprecationWarning
env =
ADMINS=Test Example <[email protected]>,Test2 <[email protected]>
LANGUAGES=en,de,fr
OIDC_OP_USER_ENDPOINT=mock://alexandria.github.com/openid/userinfo
OIDC_OP_INTROSPECT_ENDPOINT=mock://alexandria.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
alexandria/settings_*.py
alexandria/wsgi.py
alexandria/alexandria_metadata.py
show_missing = True