-
-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
288 - Alterando pre-commit hook para pre-push (#291)
* adjusting format to actually fix errors * removing pre-commit * adjusting to register a different githooks path * adding pre-push hook * linting * testing import error * linting * adjusting format and check commands * adjusting pre-push * atualizando changelog com pull 288 * Update CHANGELOG.md Co-authored-by: Camila Maia <cmaiacd@gmail.com> * Update .githooks/pre-push Co-authored-by: Camila Maia <cmaiacd@gmail.com> --------- Co-authored-by: Marcel Cattaneo <marcel.cattaneo@deal.com.br> Co-authored-by: Camila Maia <cmaiacd@gmail.com>
- Loading branch information
1 parent
388c671
commit 800f839
Showing
7 changed files
with
12 additions
and
212 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
printf "Running pre-push hook checks\n\n" | ||
|
||
make check | ||
|
||
bash -c "if [[ $? != 0 ]];then printf '\nPlease run the following command before push:\n\n make format\n\n\ | ||
Remember to commit any changes made on the process.\n'; exit 1; fi" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters