forked from cscenter/lms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmypy.ini
32 lines (27 loc) · 794 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
[mypy]
# https://mypy.readthedocs.io/en/latest/config_file.html
python_version = 3.8
mypy_path = $MYPY_CONFIG_FILE_DIR/apps
check_untyped_defs = True
disallow_any_generics = False
ignore_errors = False
ignore_missing_imports = True
disallow_untyped_calls = False
disallow_untyped_decorators = False
implicit_reexport = True
strict_optional = True
strict_equality = True
show_error_codes = True
no_implicit_optional = True
warn_unused_ignores = True
warn_redundant_casts = True
warn_unused_configs = True
warn_unreachable = True
warn_no_return = True
plugins =
mypy_django_plugin.main, mypy_drf_plugin.main
[mypy.plugins.django-stubs]
django_settings_module = compscicenter_ru.settings.local
# Django migrations should not produce any errors:
[mypy-*.*.migrations.*]
ignore_errors = True