1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-05 18:28:55 +00:00

mypy strict

This commit is contained in:
deadc0de6
2024-01-17 15:52:06 +01:00
parent 3639e92317
commit d9fabe3e81
3 changed files with 55 additions and 37 deletions

View File

@@ -104,20 +104,20 @@ pylint \
--disable=R0904 \
dotdrop/
# mypy
echo "----------------------------"
echo "checking dotdrop with mypy"
mypy \
--strict \
--ignore-missing-imports \
--allow-redefinition \
dotdrop/
# pytype
echo "----------------------------"
echo "checking dotdrop with pytype"
pytype dotdrop/
# mypy
echo "----------------------------"
echo "checking dotdrop with mypy"
# --strict
mypy \
--ignore-missing-imports \
--allow-redefinition \
dotdrop/
# check shell scripts
# SC2002: Useless cat
# SC2126: Consider using grep -c instead of grep|wc -l