Open xkortex opened 7 months ago
Second option is good 👍
PR welcome 🙏
Also, is the log file supposed to output things? I just ran the tool and updated my code (44 lines changed) and there was nothing in the log file.
edit: looking into it, seems like it only outputs when an error occurs.
@xkortex Are you still interested in helping here?
Hi, great tool, but I have a bit of a UX nitpick. By default, every time you run
bump-pydantic
it generateslog.txt
in the current directory. This is usually at the project root of a repo and I really don't care about the log file 99% of the time, and I have to remember not to accidentally git commit it. I would add a rule but for a basically one-off process it seems unnecessary.I think it would be a better experience if it did one of the following:
--log-file
option is requested/tmp/bump-pydantic/log.txt
)--no-log-file
to suppress the generation of the log file. (I suppose I can--log-file=/dev/null
but I have to remember that each time)