import-private-name (PLC2701)
does not respect @type_check_only
#15294
Labels
needs-decision
Awaiting a decision from a maintainer
wish
Not on the current roadmap; maybe in the future
import-private-name (PLC2701) says that
However, it'll still trigger when the name is subclassed, but said class is decorated with
typing.type_check_only
in a stub file:https://play.ruff.rs/658cc2b7-e7e0-4195-a19c-e1239a465e71
The text was updated successfully, but these errors were encountered: