I guess no pre-commit formatting

main
DaXcess 2023-02-21 14:51:40 +01:00
parent f2c95df625
commit d2998bb252
No known key found for this signature in database
GPG Key ID: CF78CC72F0FD5EAD
3 changed files with 2 additions and 4 deletions

View File

@ -12,6 +12,4 @@ if [[ ${result} -ne 0 ]] ; then
exit 1 exit 1
fi fi
cargo fmt --all
exit 0 exit 0

View File

@ -38,7 +38,7 @@ We make use of `rustfmt` to format our code. You can install it by running `rust
#### Git Hooks #### Git Hooks
We make use of the pre-commit git hook to run `rustfmt` and `clippy` before you commit your code. To set up the git hooks you can run the following command: We make use of the pre-commit git hook to run `clippy` before you commit your code. To set up the git hooks you can run the following command:
```bash ```bash
git config core.hooksPath .githooks git config core.hooksPath .githooks