mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-12-23 19:11:14 +01:00
6c0978498d
* Add option for mqtt config * Setup communication layer * Have a dispatcher which is responsible for handling and sending messages * Move mqtt to communication * Separate ws communications module * Make ws client conform to communicator * Cleanup imports * Migrate to new dispatcher * Clean up * Need to set topic prefix * Remove references to mqtt in dispatcher * Don't start mqtt until dispatcher is subscribed * Cleanup * Shorten package * Formatting * Remove unused * Cleanup * Rename mqtt to ws on web * Fix ws mypy * Fix mypy * Reformat * Cleanup if/else chain * Catch bad set commands
65 lines
1.3 KiB
INI
65 lines
1.3 KiB
INI
[mypy]
|
|
python_version = 3.9
|
|
show_error_codes = true
|
|
follow_imports = normal
|
|
ignore_missing_imports = true
|
|
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
|
|
disallow_untyped_decorators = true
|
|
disallow_untyped_defs = true
|
|
no_implicit_optional = true
|
|
warn_return_any = true
|
|
warn_unreachable = true
|
|
no_implicit_reexport = true
|
|
|
|
[mypy-frigate.*]
|
|
ignore_errors = true
|
|
|
|
[mypy-frigate.__main__]
|
|
ignore_errors = false
|
|
disallow_untyped_calls = false
|
|
|
|
[mypy-frigate.app]
|
|
ignore_errors = false
|
|
disallow_untyped_calls = false
|
|
|
|
[mypy-frigate.const]
|
|
ignore_errors = false
|
|
|
|
[mypy-frigate.events]
|
|
ignore_errors = false
|
|
|
|
[mypy-frigate.log]
|
|
ignore_errors = false
|
|
|
|
[mypy-frigate.models]
|
|
ignore_errors = false
|
|
|
|
[mypy-frigate.plus]
|
|
ignore_errors = false
|
|
|
|
[mypy-frigate.stats]
|
|
ignore_errors = false
|
|
|
|
[mypy-frigate.types]
|
|
ignore_errors = false
|
|
|
|
[mypy-frigate.version]
|
|
ignore_errors = false
|
|
|
|
[mypy-frigate.watchdog]
|
|
ignore_errors = false
|
|
disallow_untyped_calls = false
|
|
|
|
[mypy-frigate.zeroconf]
|
|
ignore_errors = false
|