diff --git a/Makefile b/Makefile index 7e89beca8b..6b6fe43aac 100644 --- a/Makefile +++ b/Makefile @@ -2,17 +2,25 @@ ACTIVATE := . .venv/bin/activate define run_checks exit_code=0; \ + echo "Before all => $$exit_code"; \ + poetry --version; \ cd $1; \ echo "Running poetry check"; \ poetry check || exit_code=$$?;\ + echo "Ran poetry - got $$? -> val = $$exit_code"; \ echo "Running mypy"; \ mypy . --exclude '/\.venv/' || exit_code=$$?; \ + echo "Ran mypy - got $$? -> val = $$exit_code"; \ echo "Running ruff"; \ ruff check . || exit_code=$$?; \ + echo "Ran ruff - got $$? -> val = $$exit_code"; \ echo "Running black"; \ black --check . || exit_code=$$?; \ + echo "Ran black - got $$? -> val = $$exit_code"; \ echo "Running yamllint"; \ yamllint . || exit_code=$$?; \ + echo "Ran yamllint - got $$? -> val = $$exit_code"; \ + echo "Before check => $$exit_code"; \ if [ $$exit_code -eq 1 ]; then \ echo "\033[0;31mOne or more checks failed with exit code $$exit_code\033[0m"; \ else \