please allow boolean positional arguments (FBT001
, FBT002
) in case of @override
#8867
Labels
FBT001
, FBT002
) in case of @override
#8867
While generally useful, the rules
FBT001
andFBT002
may trigger errors if applied to an ovverriden method.In my case I'm extending a class from a 3rd part library, and I need to override some methods with "naked booleans".
I got the FBT00? errors by ruff in my code, but if I fix them, the original class doesn't work anymore because there are calls to the methods passing the booleans positionally, and they are out of my control.
The text was updated successfully, but these errors were encountered: