Ruff
Ruff, the code checker most Python projects now run, switched on 413 rules by default instead of 59, and some of the new ones flag code that could never have worked.
Astral shipped Ruff 0.16.0 on July 23 with one change that outweighs the rest: the set of checks the tool runs on a project that has configured nothing. That set had sat at 59 rules since October 2023. It is now 413. Simon Willison pointed the new version at sqlite-utils, one of his own long-running projects, and got 1,618 complaints back, 1,538 of them fixed automatically.
The upgrade can also loosen a project. The new defaults switch on only part of each rule family, so deleting your own stricter setting afterwards checks less than before.
The example Astral picks to justify the change is a bug that needs no style guide to condemn. Python's yield keyword marks a function that hands back values one at a time; put it inside the routine that sets a new object up and the language converts that routine into one of those functions, so creating the object fails and none of the setup runs. Ruff inherited that check years ago from Pylint, the older and far slower linter, and shipped it switched off. For nearly three years it could see that a program was guaranteed to break and, unless asked, said nothing.
The bill arrives as churn. Teams who let their tooling float to the newest version watched build pipelines fail overnight, and any project of age now has a few hundred flagged lines to triage. That is what a default costs, and it is also why defaults are the only opinion a tool this widely installed has. Ruff won its position by being fast and quiet enough that nobody had to argue about adopting it, and it is spending that position to make "this cannot possibly work" something every Python project is told without having to ask.
One command tells you what your own project has been hiding: uvx ruff@latest check . needs no install, and Astral's release post links the full list of rules that just switched on.
Get the tool at astral.sh →The lenses
The facts
Concepts
How this connects
Tap a node to open it