PYUPGRADE_ARGS:"auto"# if equal to 'auto', the job extracts the minimal python version from PYVERSION and passes this to pyupgrade (e.g. if PYVERSION=3.10-slim then --py310-plus is passed to pyupgrade)
echo "[!] Not all Python files adhere to the latest syntax. The suggestions displayed above can be applied by running 'pyupgrade <path_to_python_file> $PYUPGRADE_ARGS'."
exit $exit_code
else
echo "[+] All Python files adhere to the latest syntax."