Add `--force` option to `make check-formatting`

This causes the check to proceed even where there are unstaged changes in the
working tree.

Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
pull/1155/head
Michael Richters 3 years ago
parent f635389b33
commit f6cb00efad
No known key found for this signature in database
GPG Key ID: 1288FD13E4EEF0C0

@ -113,6 +113,7 @@ check-formatting:
bin/format-code.py \ bin/format-code.py \
--exclude-dir 'testing/googletest' \ --exclude-dir 'testing/googletest' \
--exclude-file 'generated-testcase.cpp' \ --exclude-file 'generated-testcase.cpp' \
--force \
--check \ --check \
--verbose \ --verbose \
src plugins examples testing src plugins examples testing

Loading…
Cancel
Save