-
Notifications
You must be signed in to change notification settings - Fork 21
/
.mypy.ini
40 lines (37 loc) · 1.04 KB
/
.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
[mypy]
python_version = 3.11
plugins = mypy_django_plugin.main, mypy_drf_plugin.main
ignore_missing_imports = true
allow_untyped_globals = true
check_untyped_defs = true
show_error_codes = true
follow_imports = silent
strict_equality = true
no_implicit_optional = true
warn_incomplete_stub = true
warn_redundant_casts = true
warn_unused_configs = true
warn_unused_ignores = true
warn_unreachable = true
warn_return_any = true
enable_error_code = ignore-without-code
disable_error_code = annotation-unchecked
strict_concatenate = false
disallow_incomplete_defs = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_decorators = true
disallow_untyped_defs = true
[mypy-*.tests.*]
check_untyped_defs = false
disallow_incomplete_defs = false
disallow_subclassing_any = false
disallow_untyped_calls = false
disallow_untyped_decorators = false
disallow_untyped_defs = false
warn_return_any = false
warn_unreachable = false
[mypy-*.migrations.*]
ignore_errors = true
[mypy.plugins.django-stubs]
django_settings_module = "lego.settings"