temp. skip pytype on macos
@@ -439,7 +439,9 @@ if [ $doPytypeFormat = true ]
then
set +e # disable exit on failure so that diagnostics can be given on failure
echo "${separator}${blue}pytype${noColor}"
-
+ if [[ "$OSTYPE" == "darwin"* ]]; then
+ echo "${red}pytype not working on macOS (https://github.com/Project-MONAI/MONAI/issues/2391), skipping the tests.${noColor}"
+ else
# ensure that the necessary packages for code format testing are installed
if ! is_pip_installed pytype
then
@@ -457,6 +459,7 @@ then
else
echo "${green}passed!${noColor}"
fi
+ fi
set -e # enable exit on failure
fi
