Commit b00f6162 authored by Ruben ten Hove's avatar Ruben ten Hove
Browse files

Merge branch 'hoverht-master-patch-25001' into 'master'

fix: isort should fail on failure

See merge request ci/templates!95
parents 3f0abb38 3ede6e38
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -12,5 +12,5 @@ python:isort:
    EXCLUDE: ""  # Files/dirs to ignore. For Django use /migrations/
  script:
    - pip install isort
    - isort --check --profile=black --diff --color ${CHECK_PATH} --skip=${EXCLUDE} || echo "[!] Problems found. Run 'isort --profile=black .' in your source directory to fix these."
    - isort --check --profile=black --diff --color ${CHECK_PATH} --skip=${EXCLUDE} || (echo "[!] Problems found. Run 'isort --profile=black .' in your source directory to fix these." && exit 1)
  needs: []