Hacker News new | ask | show | jobs
by tayo42 325 days ago
That looks like its only for stub files not __init__.py
1 comments

It also applies to any .py file. (At least in practice with e.g. pyright)

That said, the documentation on this matter is close to nonexistent.