Type checking
it's quite a pain to use the lib when pylance is enabled to avoid some silly mistake. but instead I'm keep getting red right and left. appreciate if you could integrate progressively type annotation as part of your development for the most used parts of the library. that way it goes a long way
or maybe I'm missing some setting?
How to reproduce this?
in vscode make sure you having pylance extension installed
then set the python.analysis.typeCheckingMode to strict
usually I use standard but still if you are going to fix things strict is better
This is a known issue and type checking will be improved in the future.