-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmypy.ini
50 lines (39 loc) · 960 Bytes
/
mypy.ini
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
[mypy]
python_version = 3.11
files = .
namespace_packages = on
explicit_package_bases = on
warn_no_return = off
warn_unused_configs = on
warn_unused_ignores = on
warn_redundant_casts = on
no_implicit_optional = on
no_implicit_reexport = on
strict_equality = on
warn_unreachable = on
disallow_untyped_calls = on
disallow_untyped_defs = on
exclude = src/migrations/
plugins =
mypy_drf_plugin.main,
mypy_django_plugin.main
[mypy.plugins.django-stubs]
django_settings_module = "app.settings"
[mypy-rest_framework_jwt.*]
ignore_missing_imports = on
[mypy-app.testing.api.*]
disallow_untyped_defs = off
[mypy-*.tests.*]
disallow_untyped_defs = off
[mypy-*.management.*]
disallow_untyped_defs = off
[mypy-djangorestframework_camel_case.*]
ignore_missing_imports = on
[mypy-django_filters.*]
ignore_missing_imports = on
[mypy-axes.*]
ignore_missing_imports = on
[mypy-mixer.*]
ignore_missing_imports = on
[mypy-ipware.*]
ignore_missing_imports = on