Prepare mypy for typing checks

This commit is contained in:
Sebastian Englbrecht
2022-04-15 07:01:43 -05:00
committed by Blake Blackshear
parent d749cf2e6b
commit d995761419
5 changed files with 14 additions and 13 deletions
+3 -1
View File
@@ -56,5 +56,7 @@ jobs:
uses: docker/setup-buildx-action@v1
- name: Build
run: make
- name: Run mypy
run: docker run --rm --entrypoint=python3 frigate:latest -u -m mypy --config-file frigate/mypy.ini frigate
- name: Run tests
run: docker run --rm --entrypoint=python3 frigate:latest -u -m unittest
run: docker run --rm --entrypoint=python3 frigate:latest -u -m unittest