-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.mypy.ini
26 lines (25 loc) · 802 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
# The contents of this file is based on https://github.com/home-assistant/core/blob/dev/mypy.ini
[mypy]
python_version = 3.12
platform = linux
show_error_codes = true
follow_imports = normal
local_partial_types = true
strict_equality = true
#strict_bytes = true
no_implicit_optional = true
warn_incomplete_stub = true
warn_redundant_casts = true
warn_unused_configs = true
warn_unused_ignores = true
enable_error_code = ignore-without-code, redundant-self, truthy-iterable
disable_error_code = annotation-unchecked, import-not-found, import-untyped
extra_checks = false
check_untyped_defs = true
disallow_incomplete_defs = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_decorators = true
disallow_untyped_defs = true
warn_return_any = true
warn_unreachable = true