You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While generally useful, the rules FBT001 and FBT002 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:
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: