forked from saleor/saleor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
79 lines (68 loc) · 1.46 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
[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:
@overload
[tool:pytest]
addopts = -n auto --record-mode=none --ds=saleor.tests.settings --disable-socket --allow-unix-socket
asyncio_mode = auto
testpaths = saleor
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
markers =
integration
e2e
[flake8]
exclude =
.*/,
__pycache__/,
node_modules/,
*/migrations/
extend-ignore = E203
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]
allow_untyped_globals = True
allow_redefinition = True
check_untyped_defs = True
ignore_missing_imports = True
pretty = True
show_column_numbers = True
show_error_codes = True
warn_redundant_casts = True
warn_unused_ignores = True
plugins =
mypy_django_plugin.main
exclude =
\/tests\/
[mypy.plugins.django-stubs]
django_settings_module = saleor.settings
[mypy-saleor.*.migrations.*]
ignore_errors = True
[mypy-tests.*]
ignore_errors = True