Files
Archipelago/.github/mypy_check.sh
beauxq caa31a5823 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
2024-04-06 10:53:21 -07:00

6 lines
197 B
Bash
Executable File

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