pguyot / Einstein

NewtonOS running on other operating systems
GNU General Public License v2.0
415 stars 56 forks source link

Add pre-commit configuration #159

Closed pguyot closed 2 years ago

pguyot commented 2 years ago

To use this, install pre-commit and then run the following command within the working directory:

pre-commit install

clang-format will then automatically be run before any commit, aboring commit and changing files if necessary.