CI: strict mypy check in github actions

mypy_files.txt is a list of files that will fail the CI if mypy finds errors in them
This commit is contained in:
beauxq
2024-04-06 10:53:21 -07:00
parent 885fb4aabe
commit caa31a5823
6 changed files with 37 additions and 3 deletions

5
.github/mypy_check.sh vendored Executable file
View File

@@ -0,0 +1,5 @@
if [ "$(basename "$(pwd)")" = ".github" ]; then
cd ..
fi
xargs mypy --strict --follow-imports=silent --no-warn-unused-ignore --install-types --non-interactive typings < .github/mypy_files.txt