microsoft / pylance-release

Documentation and issues for Pylance
Creative Commons Attribution 4.0 International
1.68k stars 771 forks source link

Docstrings on pytest fixtures #5410

Open stev-0 opened 5 months ago

stev-0 commented 5 months ago

I assume because a fixture is a parameter to a function in pytest, it's impossible to get a description of what it is on hover-over. You have to go to the actual function definition to see that. This does break up the workflow a bit if you just need to see the description of what it is, for instance to choose between the fixtures you need.

This would enhance productivity in medium to large projects if it were available I believe.

rchiodo commented 5 months ago

Thanks for the suggestion. Good idea.