Repository navigation
Add a write_changes flag - #112
Conversation
|
Seems reasonable to me, but a test and README update would be good |
|
Added a test. README update was already done |
|
Okay, thinking more about this and how actions like this (pre-commit, prek, etc.) normally operate, the action typically fails if it makes changes. I think we should probably do the same. So maybe in write mode we should do:
And longer-term, we update |
|
If we're deleting output of the second run, it doesn't print the fixed lines. Should we be sending that to stdout too? |
|
I think those would end up being duplicated with the information with (1), no? If not then okay to have both |
|
True. Deleting the second run works fine. |
|
Great, thanks @TheGiraffe3 ! |
This is the equivalent of specifying
-wwith the original codespell.Feedback welcome.
related: #68