complex-if-statement-in-stub (PYI002)
conflicts with if-with-same-arms (SIM114)
#15153
Labels
rule
Implementing or modifying a lint rule
In python/typeshed#13309 I found that the following rules can be in conflict:
Example:
What would the recommendation be here? Could either rule be adapted so they work together ?
In this specific case, granted that typeshed's oldest supported Python version is 3.8, this could be adapted to:
But the underlying issue still exists.
Ruff 0.8.4
The text was updated successfully, but these errors were encountered: