top | item 46332431 (no title) robertfw | 2 months ago and if your pre-commit runs fast (thank you, ruff), you can set this up as a post-edit hook in claude code discuss order hn newest jswny|2 months ago I would not recommend this. A hook that modifies files causes Claude to have to re-read the file before modifying it again, which can build up your context window fast
jswny|2 months ago I would not recommend this. A hook that modifies files causes Claude to have to re-read the file before modifying it again, which can build up your context window fast
jswny|2 months ago