eggplants / networkx-stubs

Typing stubs for NetworkX
7 stars 3 forks source link

fix: Add py.typed for Pylance recognition #2

Closed Antyos closed 1 year ago

Antyos commented 1 year ago

While py.typed is not officially required by PEP 561 for stub-only packages, Pylance does not recognize the stub files unless it is present. The py.typed file is present in VirtusLab/pandas-stubs, as precedent for its pressence in stub-only libraries.