Commit 2f59730
committed
Add pre-commit config with file checks and ruff hooks
Restore pre-commit configuration adapted for the Python stack: keep
generic file checks (large files, case conflict, merge conflict, yaml,
trailing whitespace, end-of-file-fixer) and add ruff for linting and
formatting in place of the old prettier/Astro hooks.1 parent 219ef3c commit 2f59730
1 file changed
Lines changed: 20 additions & 0 deletions
| 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 | + | |
0 commit comments