client icon indicating copy to clipboard operation
client copied to clipboard

Type checking

Open mhamri opened this issue 5 months ago • 3 comments

Image

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?

mhamri avatar Jun 26 '25 21:06 mhamri

How to reproduce this?

AYMENJD avatar Jun 27 '25 00:06 AYMENJD

in vscode make sure you having pylance extension installed

Image

then set the python.analysis.typeCheckingMode to strict

Image

usually I use standard but still if you are going to fix things strict is better

mhamri avatar Jun 27 '25 00:06 mhamri

This is a known issue and type checking will be improved in the future.

AYMENJD avatar Jun 27 '25 00:06 AYMENJD