-
Notifications
You must be signed in to change notification settings - Fork 36
Formatting Cpp and Python code
StefanJVA edited this page Nov 7, 2018
·
3 revisions
This project contains git hooks and formating scripts to make formating code easy.
A git hook is a script that executes as soon as any changes are commited with git.
To install the repos git hooks run
scripts/hooks/_install.sh
This will automaticly format C++ and Python code when a commit happens.
To format all C++ and Python code in the project just run this script
./scripts/format/format-src.sh
The python code is formatted with autopep8. It is currently configured with the aggressive flags. Thus, you need to review the changes it made.