fix some mypy lint
This commit is contained in:
parent
9d7d80d3a5
commit
7c7a1fcde2
6 changed files with 20 additions and 6 deletions
|
|
@ -6,6 +6,7 @@ if [ "$1" = '--fix' ]; then
|
|||
black .
|
||||
isort --profile black .
|
||||
autoflake --in-place --recursive .
|
||||
mypy . || : # ignore
|
||||
)
|
||||
exit
|
||||
fi
|
||||
|
|
@ -14,6 +15,7 @@ error=0
|
|||
|
||||
(set -x; black --check .) || error=$?
|
||||
(set -x; isort --profile black --check .) || error=$?
|
||||
(set -x; autoflake --check --recursive .) || error=$?
|
||||
(set -x; autoflake --check --recursive . | uniq) || error=$?
|
||||
(set -x; mypy .) || : # ignore
|
||||
|
||||
exit "$error"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue