Files
frigate/docker/main
Nicolas Mowen 4ee12e6237 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
..
2026-07-01 15:03:34 -05:00
2026-03-11 08:32:16 -05:00
2025-02-08 12:47:01 -06:00
2025-11-05 07:10:56 -07:00
2025-02-08 14:51:42 -06:00
2025-10-25 16:40:04 -05:00