Loading python/pycln.yml +2 −2 Original line number Diff line number Diff line Loading @@ -19,7 +19,7 @@ python:pycln: --extend-exclude "${PYTHON_EXCLUDE_REGEX:-($^)}" . after_script: - | if [ ${CI_JOB_STATUS} != "success" ]; then echo "Run 'pycln ${PYCLN_DEFAULT_ARGS} ${PYCLN_EXTRA_ARGS} --extend-exclude "${PYTHON_EXCLUDE_REGEX:-($^)}" .' in your source directory to fix these." if [ ${CI_JOB_STATUS} = "failed" ]; then echo "Run 'python -m pycln ${PYCLN_DEFAULT_ARGS} ${PYCLN_EXTRA_ARGS} --extend-exclude \"${PYTHON_EXCLUDE_REGEX:-($^)}\" .' in your source directory to fix these." fi needs: [] tests/jobs/python.yml +5 −0 Original line number Diff line number Diff line Loading @@ -30,3 +30,8 @@ python:pyinstaller:windows: - python/generic.yml # exists: # Reenable when this one is released: https://gitlab.com/gitlab-org/gitlab/-/issues/283881 # - $PYINSTALLER_TARGET python:pyclean:failed: extends: python:pycln variables: CI_JOB_STATUS: failed Loading
python/pycln.yml +2 −2 Original line number Diff line number Diff line Loading @@ -19,7 +19,7 @@ python:pycln: --extend-exclude "${PYTHON_EXCLUDE_REGEX:-($^)}" . after_script: - | if [ ${CI_JOB_STATUS} != "success" ]; then echo "Run 'pycln ${PYCLN_DEFAULT_ARGS} ${PYCLN_EXTRA_ARGS} --extend-exclude "${PYTHON_EXCLUDE_REGEX:-($^)}" .' in your source directory to fix these." if [ ${CI_JOB_STATUS} = "failed" ]; then echo "Run 'python -m pycln ${PYCLN_DEFAULT_ARGS} ${PYCLN_EXTRA_ARGS} --extend-exclude \"${PYTHON_EXCLUDE_REGEX:-($^)}\" .' in your source directory to fix these." fi needs: []
tests/jobs/python.yml +5 −0 Original line number Diff line number Diff line Loading @@ -30,3 +30,8 @@ python:pyinstaller:windows: - python/generic.yml # exists: # Reenable when this one is released: https://gitlab.com/gitlab-org/gitlab/-/issues/283881 # - $PYINSTALLER_TARGET python:pyclean:failed: extends: python:pycln variables: CI_JOB_STATUS: failed