Imported symbols are considered private by default. If they use the “import A as A” (a redundant module alias), “from X import A as A” (a redundant symbol alias), or “from . import A” forms, symbol “A” is not private unless the name begins with an underscore.
The docs state that "typecheckers like Pyright" use this rule, but I don't know what standard this is based on TBH.
I ran make format after adding the aliases, which split all compound imports into separate lines.
This is a fix for the following Pyright rule:
The docs state that "typecheckers like Pyright" use this rule, but I don't know what standard this is based on TBH.
I ran
make format
after adding the aliases, which split all compound imports into separate lines.