Commit f4cc384
authored
added post commit hook to run spotless command (#936)
## Description
1. Add a script to run spotless post commit
2. Since githooks are not tracked, moved them to a script folder with
symlink to the actual git hook
## Testing
<img width="913" height="782" alt="Screenshot 2025-08-12 at 2 47 20 PM"
src="https://github.com/user-attachments/assets/19c5055b-022e-4489-baf6-a12812f9d664"
/>
## Additional Notes to the Reviewer
1. Need to update README if the approach is finalised
NO_CHANGELOG=true
---------
Signed-off-by: Nikhil Suri <[email protected]>1 parent e5ce12c commit f4cc384
File tree
3 files changed
+31
-0
lines changed- scripts
- githooks
3 files changed
+31
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
94 | 102 | | |
95 | 103 | | |
96 | 104 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
0 commit comments