View Single Post
Old 01-26-2025, 03:15 AM   #9
un_pogaz
Chalut o/
un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.
 
un_pogaz's Avatar
 
Posts: 443
Karma: 672378
Join Date: Dec 2017
Device: Kobo
Oh, great thank you for moving the strict-pep8 to the default behavior, is far beyond I excepted for this project.

Since so, a information:
One of the advantages of having several config files was that you could have one safe for the auto-fix, and a other less safer for a manual checking. I realize this is irrelevant, but it has some consequences to keep in mind for a more regular use.

The first is that the 'preview' flag seems to change Ruff behavior in a way that is a little more profound than just a larger set of rules, leading to the global deactivation of the very helpfull 'F841 unused variable'. The issue is reported, but fix could be take a long time coming.
https://github.com/astral-sh/ruff/issues/8884

The other is the enlabing of 'RUF' rules. If the others groupes rules added during this project are well scoped, the 'RUF' groupe is not. This is the way out for some very good rules that not fit elsewhere, but also many others that we probably don't want. So, it's a group to keep an eye on when linting a new errors after upgrade Ruff.

un_pogaz is offline   Reply With Quote