[CI/Build] Add error matching config for mypy (#9512)

This commit is contained in:
Russell Bryant
2024-10-18 15:17:53 -04:00
committed by GitHub
parent 051eaf6db3
commit 67a7e5ef38
3 changed files with 22 additions and 1 deletions

View File

@ -2,6 +2,10 @@
CI=${1:-0}
if [ $CI -eq 1 ]; then
set -e
fi
run_mypy() {
echo "Running mypy on $1"
if [ $CI -eq 1 ] && [ -z "$1" ]; then