forked from saleor/saleor
-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.cfg
67 lines (57 loc) · 1.23 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
[coverage:run]
branch = 1
omit =
*/management/*
*/migrations/*
*/test_*.py
*/fixtures.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 --record-mode=none --ds=saleor.tests.settings --disable-socket
testpaths = saleor
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
markers =
integration
[flake8]
exclude =
.*/,
__pycache__/,
node_modules/,
*/migrations/
ignore = H101,H238,H301,H306,W503
max-complexity = 31
max-line-length = 88
[pep8]
exclude =
.*/,
__pycache__/,
node_modules/,
*/migrations/
ignore = E203,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
[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