File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed
Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -643,26 +643,6 @@ function flake8_check() {
643643 print_function "STAGE" "flake8 checks... [SUCCESS]"
644644 fi
645645}
646-
647-
648- # mypy check
649- function mypy_check() {
650- print_function "STAGE" "mypy checks"
651-
652- # the return value of a pipeline is the status of the last command to exit
653- # with a non-zero status or zero if no command exited with a non-zero status
654- set -o pipefail
655-
656- (${MYPY_PATH} -- install- types -- non- interactive -- config- file tox.ini) 2 >& 1 | tee - a ${LOG_FILE}
657- TYPE_HINT_CHECK_STATUS=$?
658- if [ ${TYPE_HINT_CHECK_STATUS} - ne 0 ]; then
659- print_function "STAGE" "mypy checks... [FAILED]"
660- # Stop the running script.
661- exit 1 ;
662- else
663- print_function "STAGE" "mypy checks... [SUCCESS]"
664- fi
665- }
666646###############################################################All Checks Definitions###############################################################
667647
668648# CURRENT_DIR is "paimon-python/dev/"
You can’t perform that action at this time.
0 commit comments