Ignoring import-private-name (PLC2701)
for _typeshed
import
#15295
Labels
import-private-name (PLC2701)
for _typeshed
import
#15295
_typeshed
exposes plenty of very useful type aliases and protocols. A lot of those are even marked asstable
by typeshed maintainers._typeshed
imports can only be used in annotations and type-stubs.For these reasons, I don't think
import-private-name (PLC2701)
brings value in applying to the_typeshed
import. I'd like to see this rule ignore that import. Or to have a way to configure names and/or modules I'd like ignored.Ruff: 0.8.5
The text was updated successfully, but these errors were encountered: