From aa0577f6084bbf6f49c3b18f6950c90a53879858 Mon Sep 17 00:00:00 2001 From: Valan Baptist Mathuranayagam <84893551+valanm22@users.noreply.github.com> Date: Sat, 7 Dec 2024 11:00:48 +0530 Subject: [PATCH 1/2] Update check_python_file.sh --- check_python_file.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/check_python_file.sh b/check_python_file.sh index 03490e8..70a705c 100755 --- a/check_python_file.sh +++ b/check_python_file.sh @@ -13,7 +13,6 @@ do } flake8_output=$(poetry run flake8 "${cur_file}" --count --max-line-length=88 --show-source --ignore=E203,W503 2>&1) || { - printf "Checking \"%s\"\n" "${cur_file}" printf "Checking with flake8:\n%s\n" "${flake8_output}" exit_code=1 } From 5a157b8c0df61362d7b2a19d4160ce01dd545081 Mon Sep 17 00:00:00 2001 From: Valan Baptist Mathuranayagam <84893551+valanm22@users.noreply.github.com> Date: Sat, 7 Dec 2024 11:01:52 +0530 Subject: [PATCH 2/2] Update check_python_file.sh --- check_python_file.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/check_python_file.sh b/check_python_file.sh index 70a705c..7d2bf06 100755 --- a/check_python_file.sh +++ b/check_python_file.sh @@ -18,13 +18,11 @@ do } mypy_output=$(poetry run mypy "${cur_file}" 2>&1) || { - printf "Checking \"%s\"\n" "${cur_file}" printf "Checking with mypy:\n%s\n" "${mypy_output}" exit_code=1 } xenon_output=$(poetry run xenon --max-absolute A --max-modules A --max-average A "${cur_file}" 2>&1) || { - printf "Checking \"%s\"\n" "${cur_file}" printf "Checking with xenon:\n%s\n" "${xenon_output}" exit_code=1 }