forked from saleor/saleor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
56 lines (48 loc) · 1.06 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
[coverage:run]
branch = 1
omit =
*/management/*
*/migrations/*
*/tests/*
*/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
[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
show_error_context = True
show_traceback = 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