Commit e1e5309
Simplify hook name lookup by inlining the pattern
Removed HOOK_NAME_MAPPING dict and replaced it with a simple f-string
since the pattern is consistent: f"hatch_register_{plugin_type}"
This eliminates another hardcoded mapping that just duplicates a simple
naming convention.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 8f20b12 commit e1e5309
1 file changed
+2
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | 29 | | |
44 | 30 | | |
45 | 31 | | |
| |||
218 | 204 | | |
219 | 205 | | |
220 | 206 | | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
| 207 | + | |
| 208 | + | |
225 | 209 | | |
226 | 210 | | |
227 | 211 | | |
| |||
0 commit comments