Replies: 3 comments 1 reply
-
Examples:
Most of them can be fixed automatically by ruff. |
Beta Was this translation helpful? Give feedback.
-
I will look at this config in detail and get back to you. I'm generally ok with more checking, and some of the changes it suggests are reasonable, however I don't like a lot of the "simplify" ones, in particular SIM108 which changes if ... else ... blocks into the ternary operator. |
Beta Was this translation helpful? Give feedback.
-
After a bit more reading I'm inclined to adopt most of these but I think it's probably better if I do the edits, because I can group them into commits and we won't have any back and forth with me quibbling about which things I like and which I don't. Thanks for sending in the improved linting config! (I'll convert this to an issue and assign to me) |
Beta Was this translation helpful? Give feedback.
-
I tried running
ruff
with some options that has been quite useful in other projects:This results in some errors. Should I try to to fix them?
Beta Was this translation helpful? Give feedback.
All reactions