Verified Commit 4ea418a9 authored by Joren Vrancken's avatar Joren Vrancken
Browse files

Do not exit CI job when no trailing whitespace has been found

parent f1a26c46
...@@ -22,7 +22,7 @@ codestyle: ...@@ -22,7 +22,7 @@ codestyle:
script: script:
- tox -e flake8 - tox -e flake8
# Check for obsolete translations in .po files (starting with `#~`). # Check for obsolete translations in .po files (starting with `#~`).
- (grep --include="*.po" --quiet --recursive --regexp "^#~" website && exit 1) || exit 0 - grep --include="*.po" --files-with-matches --recursive "^#~" && exit 1 || echo "No obsolete translations found."
.djangotest: &djangotest .djangotest: &djangotest
stage: test stage: test
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment