forked from saleor/saleor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
83 lines (69 loc) · 1.42 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
73
74
75
76
77
78
79
80
81
82
83
[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
if TYPE_CHECKING:
[tool:pytest]
addopts = -n auto --vcr-record-mode=none --ds=tests.settings
testpaths = tests saleor
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
markers =
integration
[flake8]
exclude =
.*/,
__pycache__/,
node_modules/,
*/migrations/
ignore = H101,H238,H301,H306,W503
max-line-length = 88
[pep8]
exclude =
.*/,
__pycache__/,
node_modules/,
*/migrations/
ignore = H101,H238,H301,H306,W503
max-line-length = 88
[pydocstyle]
ignore = D100, D101, D102, D103, D104, D105, D106, D107, D203, D213, D407, D202
inherit = false
match-dir = saleor
[isort]
skip =
.direnv
.tox
.venv
migrations
node_modules
not_skip = __init__.py
# Vertical Hanging Indent
multi_line_output = 3
include_trailing_comma: True
line_length = 88
known_first_party = saleor
known_third_party =
[mypy]
ignore_missing_imports = True
allow_untyped_globals = True
allow_redefinition = True
show_error_codes = True
plugins =
mypy_django_plugin.main
[mypy.plugins.django-stubs]
django_settings_module = saleor.settings
[mypy-saleor.*.migrations.*]
ignore_errors = True
[mypy-tests.*]
ignore_errors = True