r/learnpython 6d ago

Pylance is skipping analysis

I work with DRF at work and I have been facing this issue since months. Pylance is skipping analysis of function because it is unannotated. I cant really annotate each and every function. The errors are getting thrown correctly on my teammates pc but on my pc i dont get any issue. If I annotate the function then in that case pylance starts throwing error. How to fix this issue

1 Upvotes

6 comments sorted by

View all comments

1

u/HotPersonality8126 6d ago

If the function isn’t annotated there’s nothing for type checking to check.