forked from saleor/saleor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
63 lines (56 loc) · 1.15 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
[coverage:run]
branch = 1
omit =
*/management/*
*/migrations/*
*/test_*.py
saleor/core/utils/random_data.py
source = saleor
[coverage:report]
exclude_lines =
pragma: no cover
raise NotImplementedError
return NotImplemented
[tool:pytest]
addopts = -n auto --vcr-record-mode=none --cov --cov-report=
testpaths = tests saleor
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
DJANGO_SETTINGS_MODULE = tests.settings
[flake8]
exclude =
.*/,
__pycache__/,
docs/,
node_modules/,
*/migrations/
ignore = H101,H238,H301,H306,W503
[pep8]
exclude =
.*/,
__pycache__/,
docs/,
node_modules/,
*/migrations/
ignore = H101,H238,H301,H306,W503
[pydocstyle]
ignore = D100, D101, D102, D103, D104, D105, D106, D107, D203, D213
inherit = false
match-dir = (?!migrations)[^\.].*
[isort]
skip =
.direnv
.tox
.venv
docs
migrations
node_modules
not_skip = __init__.py
multi_line_output = 4
[yapf]
based_on_style = pep8
align_closing_bracket_with_visual_indent = false
coalesce_brackets = true
split_before_closing_bracket = false
split_before_first_argument = true