Enable mypy for DB and fix types (#19434)

* Install peewee type hints

* Models now have proper types

* Fix iterator type

* Enable debug builds with dev reqs installed

* Install as wheel

* Fix cast type
This commit is contained in:
Nicolas Mowen authored and Blake Blackshear committed 2025-08-16 10:20:33 -05:00
1 parent 6ecc631486
commit 7c1681e344
7 files changed
+31 -16

No files matched your search

+1 -1
View File
@@ -107,7 +107,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build
run: make
run: make debug
- name: Run mypy
run: docker run --rm --entrypoint=python3 frigate:latest -u -m mypy --config-file frigate/mypy.ini frigate
- name: Run tests