forked from adfinis/mySAGW
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
64 lines (60 loc) · 1.32 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
[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=mysagw
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 = mysagw.settings
filterwarnings =
error::DeprecationWarning
error::PendingDeprecationWarning
env =
ADMINS=Test Example <[email protected]>,Test2 <[email protected]>
[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
mysagw/settings_*.py
mysagw/wsgi.py
show_missing = True