Commit f843dbb
SamoraHunter
build(pre-commit): add ruff and black hooks
Configures the pre-commit framework to automatically run ruff and black on staged files.
- Ruff is set to run with `--fix` to auto-correct linting errors.
- Black enforces consistent code formatting across the project.
This ensures all code is linted and formatted before being committed, improving overall code quality and consistency.1 parent db31277 commit f843dbb
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
0 commit comments