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

parent f1a26c46
......@@ -22,7 +22,7 @@ codestyle:
script:
- tox -e flake8
# 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
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