ITADN

Stabilize old experimental/preview rules

#25299Openinoa-jboliveira 创建于 2026-05-21
question
I
inoa-jboliveiracommented
### Summary I'd like to drop the `preview` option from my pyproject but I do make use of several rules that have been marked as experimental since forever. The push comes from the format changes that are happening and it will be kinda large reformat in a project with a couple MLOC. So I am both stuck with a certain version of ruff and stuck with rules that cannot be used. Yes, I could drop said rules, but several did catch bugs early on that it is more risky to remove them than to never upgrade ruff. Example: most of the pycodestyle `E` rules are marked `Rule has been in preview since v0.0.269`. What I believe is the problem here is that there is no rule progression process. They are born and instantly forgotten. Can this be fixed? Many thanks
3 条评论