Files
frigate/frigate/mypy.ini
T

65 lines
1.4 KiB
INI
Raw Normal View History

2022-04-12 15:30:55 +02:00
[mypy]
python_version = 3.11
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
# 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.*]
2026-03-25 18:30:59 -06:00
ignore_errors = false
2026-03-26 12:54:12 -06:00
# Third-party code imported from https://github.com/ufal/whisper_streaming
[mypy-frigate.data_processing.real_time.whisper_online]
ignore_errors = true
# TODO: Remove ignores for these modules as they are updated with type annotations.
2026-03-25 18:30:59 -06:00
[mypy-frigate.api.*]
2022-04-12 15:30:55 +02:00
ignore_errors = true
2022-04-12 22:24:45 +02:00
2026-03-25 18:30:59 -06:00
[mypy-frigate.config.*]
ignore_errors = true
2022-04-16 17:40:04 +02:00
2026-03-25 18:30:59 -06:00
[mypy-frigate.debug_replay]
ignore_errors = true
2025-08-08 06:08:37 -06:00
2026-03-25 18:30:59 -06:00
[mypy-frigate.detectors.*]
ignore_errors = true
2022-11-19 14:16:33 +01:00
2026-03-25 18:30:59 -06:00
[mypy-frigate.embeddings.*]
ignore_errors = true
2026-03-25 09:28:48 -06:00
2026-03-25 18:30:59 -06:00
[mypy-frigate.http]
ignore_errors = true
2026-03-25 09:28:48 -06:00
2026-03-25 18:30:59 -06:00
[mypy-frigate.ptz.*]
ignore_errors = true
2026-03-25 09:28:48 -06:00
2026-03-25 18:30:59 -06:00
[mypy-frigate.stats.*]
ignore_errors = true
2026-03-25 09:28:48 -06:00
2026-03-25 18:30:59 -06:00
[mypy-frigate.test.*]
ignore_errors = true
2026-03-25 09:28:48 -06:00
2026-03-25 18:30:59 -06:00
[mypy-frigate.util.*]
ignore_errors = true
2022-04-12 22:24:45 +02:00
2026-03-25 18:30:59 -06:00
[mypy-frigate.video.*]
ignore_errors = true