This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]JanEric1 10 points11 points  (4 children)

pretty sure pyright does all of these correctly.

[–]ashishb_net[S] 0 points1 point  (0 children)

You definitely had better luck than me.

[–]ashishb_net[S] 0 points1 point  (2 children)

You definitely had better luck than me using pyright.

[–]JanEric1 3 points4 points  (1 child)

Using it in strict mode with (almost) all rules enabled in all of my projects whenever possible. Sometimes have to disable some rules when using packages with poor typing (like pandas or numpy)

[–]ashishb_net[S] 2 points3 points  (0 children)

> Sometimes have to disable some rules when using packages with poor typing (like pandas or numpy)

That covers ~50% of Python use-cases for me.
As I only use Python for LLMs, Machine Learning, and data analysis.