aboutsummaryrefslogtreecommitdiff
path: root/scripts/formatcode.py
Commit message (Collapse)AuthorAgeFilesLines
* Add pre-commit config (#69)Joe Kirchoff2022-04-051-138/+0
| | | | | | | * Add .pre-commit-config.yaml * format all using pre-commit clang-format hook * Add pre-commit to inject unreal header comment * Remove prepare_commit.bat & update CODING.md * Remove check-added-large-files, add headers before clang-format
* Introduced basic validation of the clang-format versionStefan Boberg2022-03-171-1/+18
| | | | This is a very primitive implementation, which could probably be improved. We should also raise an error if clang-format is not found
* Added --no-batch option to formatcode scriptStefan Boberg2022-02-021-4/+14
| | | | Intended as a workaround for cases when clang-format crashes, which often is "fixed" by only formatting a specific file
* prepare_commit: Add filter for filenames. Print full path from root in the ↵mattpetersepic2022-01-241-11/+73
| | | | display. (#37)
* Adding zenservice codeStefan Boberg2021-05-111-0/+49