frigate/frigate/comms
Nicolas Mowen 4ee12e6237
Some checks are pending
CI / AMD64 Build (push) Waiting to run
CI / ARM Build (push) Waiting to run
CI / Jetson Jetpack 6 (push) Waiting to run
CI / AMD64 Extra Build (push) Blocked by required conditions
CI / ARM Extra Build (push) Blocked by required conditions
CI / Synaptics Build (push) Blocked by required conditions
CI / Assemble and push default build (push) Blocked by required conditions
Increase ruff coverage (#23644)
* Pin ruff

* Add python upgrade fixes

This enables python upgrade checks in ruff to look for deprecated types and patterns. This namely fixes:
- usage of deprecated `Typing` which is now built in
- some specific exceptions which are caught and have new aliases

Some specific UP checks were also ignored as they are stylistic / unimportant and likely to cause bugs

* Remove async blocking calls

Use asyncio.to_thread on two remaining blocking calls to fix hanging event thread loop. Enable this specific rule to block it in the future.

* Use proper logging mechanism

* Correctly format logs

* Raise with context

When raising an exception include the from context to improve debugging

* Cleanup
2026-07-06 12:28:02 -05:00
..
base_communicator.py Increase ruff coverage (#23644) 2026-07-06 12:28:02 -05:00
config_updater.py Debug replay (#22212) 2026-03-04 10:07:34 -06:00
detections_updater.py Improve comms typing (#18599) 2025-08-16 10:20:33 -05:00
dispatcher.py Increase ruff coverage (#23644) 2026-07-06 12:28:02 -05:00
embeddings_updater.py Increase ruff coverage (#23644) 2026-07-06 12:28:02 -05:00
event_metadata_updater.py Improve comms typing (#18599) 2025-08-16 10:20:33 -05:00
events_updater.py Enable mypy for track and fix typing errors (#19529) 2025-08-17 12:27:42 -05:00
inter_process.py Increase ruff coverage (#23644) 2026-07-06 12:28:02 -05:00
mqtt.py Increase ruff coverage (#23644) 2026-07-06 12:28:02 -05:00
object_detector_signaler.py Use Fork-Server As Spawn Method (#18682) 2025-08-16 10:20:33 -05:00
recordings_updater.py Watchdog enhancements (#20237) 2025-09-28 10:52:14 -06:00
review_updater.py Implement start for review item description processor (#19352) 2025-08-16 10:20:33 -05:00
runtime_state.py Increase ruff coverage (#23644) 2026-07-06 12:28:02 -05:00
webpush.py Increase ruff coverage (#23644) 2026-07-06 12:28:02 -05:00
ws.py Increase ruff coverage (#23644) 2026-07-06 12:28:02 -05:00
zmq_proxy.py Debug replay (#22212) 2026-03-04 10:07:34 -06:00