Commit dc35d69
committed
fix fmt drift and add cargo-husky pre-push hook
`cargo fmt --all` clears the diff that turned CI red on the 0.0.2 release
push. The pre-push hook auto-installs on the next `cargo test` and runs
`cargo fmt --all --check`, blocking the same drift from reaching CI again.1 parent 0d05698 commit dc35d69
5 files changed
Lines changed: 28 additions & 12 deletions
File tree
- .cargo-husky/hooks
- crates
- catcast-core
- catc/src
- catstage/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | | - | |
212 | | - | |
213 | | - | |
| 211 | + | |
214 | 212 | | |
215 | | - | |
216 | | - | |
217 | | - | |
| 213 | + | |
218 | 214 | | |
219 | | - | |
220 | | - | |
221 | | - | |
| 215 | + | |
222 | 216 | | |
223 | 217 | | |
224 | 218 | | |
| |||
263 | 257 | | |
264 | 258 | | |
265 | 259 | | |
266 | | - | |
267 | | - | |
| 260 | + | |
268 | 261 | | |
269 | 262 | | |
270 | 263 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
419 | 419 | | |
420 | 420 | | |
421 | 421 | | |
422 | | - | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
423 | 426 | | |
424 | 427 | | |
425 | 428 | | |
0 commit comments