2022-04-12 15:30:55 +02:00
|
|
|
[mypy]
|
|
|
|
python_version = 3.9
|
2022-04-12 22:24:45 +02:00
|
|
|
show_error_codes = true
|
2022-04-16 17:40:04 +02:00
|
|
|
follow_imports = normal
|
2022-04-12 15:30:55 +02:00
|
|
|
ignore_missing_imports = true
|
2022-04-12 22:24:45 +02:00
|
|
|
strict_equality = true
|
|
|
|
warn_incomplete_stub = true
|
|
|
|
warn_redundant_casts = true
|
|
|
|
warn_unused_configs = true
|
|
|
|
warn_unused_ignores = true
|
|
|
|
enable_error_code = ignore-without-code
|
|
|
|
check_untyped_defs = true
|
|
|
|
disallow_incomplete_defs = true
|
|
|
|
disallow_subclassing_any = true
|
2022-11-24 03:03:20 +01:00
|
|
|
# https://github.com/python/mypy/issues/10757
|
|
|
|
disallow_untyped_calls = false
|
2022-04-12 22:24:45 +02:00
|
|
|
disallow_untyped_decorators = true
|
|
|
|
disallow_untyped_defs = true
|
|
|
|
no_implicit_optional = true
|
|
|
|
warn_return_any = true
|
|
|
|
warn_unreachable = true
|
|
|
|
no_implicit_reexport = true
|
2022-04-12 15:30:55 +02:00
|
|
|
|
|
|
|
[mypy-frigate.*]
|
|
|
|
ignore_errors = true
|
2022-04-12 22:24:45 +02:00
|
|
|
|
2022-04-16 17:40:04 +02:00
|
|
|
[mypy-frigate.__main__]
|
|
|
|
ignore_errors = false
|
|
|
|
disallow_untyped_calls = false
|
|
|
|
|
|
|
|
[mypy-frigate.app]
|
|
|
|
ignore_errors = false
|
|
|
|
disallow_untyped_calls = false
|
|
|
|
|
2022-04-12 22:24:45 +02:00
|
|
|
[mypy-frigate.const]
|
|
|
|
ignore_errors = false
|
|
|
|
|
2022-11-19 14:16:33 +01:00
|
|
|
[mypy-frigate.events]
|
|
|
|
ignore_errors = false
|
|
|
|
|
2022-04-12 22:24:45 +02:00
|
|
|
[mypy-frigate.log]
|
|
|
|
ignore_errors = false
|
|
|
|
|
2022-04-16 17:40:04 +02:00
|
|
|
[mypy-frigate.models]
|
|
|
|
ignore_errors = false
|
|
|
|
|
|
|
|
[mypy-frigate.plus]
|
|
|
|
ignore_errors = false
|
|
|
|
|
|
|
|
[mypy-frigate.stats]
|
|
|
|
ignore_errors = false
|
|
|
|
|
|
|
|
[mypy-frigate.types]
|
|
|
|
ignore_errors = false
|
|
|
|
|
2022-04-12 22:24:45 +02:00
|
|
|
[mypy-frigate.version]
|
|
|
|
ignore_errors = false
|
|
|
|
|
|
|
|
[mypy-frigate.watchdog]
|
|
|
|
ignore_errors = false
|
|
|
|
disallow_untyped_calls = false
|
2024-10-21 17:00:38 +02:00
|
|
|
|
|
|
|
|
|
|
|
[mypy-frigate.service_manager.*]
|
|
|
|
ignore_errors = false
|