Skip to content
Snippets Groups Projects
Commit 860fd120 authored by q3k's avatar q3k
Browse files

ci: actually check formatting

parent 08e9470a
No related branches found
No related tags found
1 merge request!29ci: actually check formatting
Pipeline #5928 passed
......@@ -38,8 +38,9 @@ mypy:
format:
stage: check
script:
- "git clean -fdx"
- "bash tools/format.sh"
- "[ -z \"$(git status --porcelain -u no)\" ] || (echo 'Differences found, please run tools/format.sh.' && git diff HEAD && exit 1)"
- "[ -z \"$(git status --porcelain)\" ] || (echo 'Differences found, please run tools/format.sh.' && git diff HEAD && exit 1)"
build-p3:
stage: build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment