flake8-boolean-trap.extend-allowed-calls
don't resolve class types
#11264
Labels
type-inference
Requires more advanced type inference.
flake8-boolean-trap.extend-allowed-calls
don't resolve class types
#11264
I am actually working on fixing the rule boolean-positional-value-in-call (FBT003) on a code repository.
I need to allow this rule for some functions. For that, at the end of my config file "pyproject.toml", I have added:
My issue here is that in my code repository, we call the function "LibName.className.functionName" through a variable, as following:
On such code, the rule FBT003 is still applied in spite of the "extend-allowed-calls" option.
Is the "extend-allowed-calls" option only works for direct function calls?
The text was updated successfully, but these errors were encountered: