Commit 3ede6e38 authored by Ruben ten Hove's avatar Ruben ten Hove
Browse files

fix: isort should fail on failure

parent 3f0abb38
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: []