diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index bfffd07..4918055 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -32,8 +32,8 @@ jobs: set +x formatted_files=$(find ./config ./src ./tools -newer /tmp/pre_fmt) num_formatted_files=$(echo $formatted_files | wc -l) - - if [ "$num_formatted_files" -gt 0 ]; then + echo $num_formatted_files + if [ "$num_formatted_files" -ne "0" ]; then echo "❌🔥 Bad code detected! The following files would be reformatted:" echo "$formatted_files" exit 1 diff --git a/config/test.py b/config/test.py deleted file mode 100644 index 73550e5..0000000 --- a/config/test.py +++ /dev/null @@ -1,11 +0,0 @@ -def my_func(): - pass - - - - - - - -def my_func2(): - pass diff --git a/tools/containerization/test.py b/tools/containerization/test.py deleted file mode 100644 index 73550e5..0000000 --- a/tools/containerization/test.py +++ /dev/null @@ -1,11 +0,0 @@ -def my_func(): - pass - - - - - - - -def my_func2(): - pass