logoalt Hacker News

MawKKetoday at 6:49 PM1 replyview on HN

Well, that's the danger of using software without version pinning.

Also, usually tools like Ruff can be configured to enable/disable project-specific formatting rules (via a config file), allowing you to suppress the defaults you disagree with, or whose consequence you don't want to deal with _right now_. Some tools might even support suppressing specific rules per-file, so you can migrate codebase over time instead of in one go.

Having a config that explicitly defines the rules enforced in the project is really useful, and perhaps even crucial the bigger the project grows.


Replies

maratctoday at 7:14 PM

The options you suggest seem to be either (a) feed the bot now (halt development and reformat all code) or (b) under-pin/suppress and feed the bot later, probably dealing with people adding more non-conformant code to already-reformatted files.

You will probably have to do it all over again when these guys release even newer and shinier 0.17.0, with even more rules.

I can't understand how the option of not feeding the bot eludes people.