mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-05 17:18:53 +00:00
mypy strict
This commit is contained in:
18
scripts/check-syntax.sh
vendored
18
scripts/check-syntax.sh
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user