2019-12-08 22:43:49 +01:00
|
|
|
#! /bin/bash
|
|
|
|
|
|
|
|
declare -a arr=(
|
|
|
|
"api"
|
2020-11-06 20:05:40 +01:00
|
|
|
"afputils"
|
2019-12-08 22:43:49 +01:00
|
|
|
"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 \
|
2021-05-31 20:07:03 +02:00
|
|
|
--warn-unused-ignores \
|
2019-12-08 22:43:49 +01:00
|
|
|
--disallow-untyped-calls \
|
|
|
|
--disallow-untyped-defs \
|
2021-05-31 20:07:03 +02:00
|
|
|
--disallow-subclassing-any \
|
|
|
|
--disallow-incomplete-defs \
|
|
|
|
--no-implicit-optional \
|
2019-12-08 22:43:49 +01:00
|
|
|
--no-strict-optional
|