1
0
mirror of synced 2024-11-12 01:00:46 +01:00
bemaniutils/verifytyping

44 lines
778 B
Plaintext
Raw Normal View History

#! /bin/bash
declare -a arr=(
"api"
"afputils"
"arcutils"
"bemanishark"
"binutils"
"cardconvert"
"dbutils"
"frontend"
"ifsutils"
"iidxutils"
"proxy"
"psmap"
"read"
"replay"
"responsegen"
"scheduler"
"services"
"struct"
"trafficgen"
"twodxutils"
)
declare -a cmdline=()
for project in "${arr[@]}"
do
cmdline+=('-m')
cmdline+=("bemani.utils.$project")
done
MYPYPATH=$(python -c "import os; print(os.path.realpath('.'))") mypy \
"${cmdline[@]}" \
--warn-redundant-casts \
--warn-unused-ignores \
--disallow-untyped-calls \
--disallow-untyped-defs \
--disallow-subclassing-any \
--disallow-incomplete-defs \
--no-implicit-optional \
--no-strict-optional