Commit 069c966
committed
export symbols using
Mentioned in #1322
Explanation on how it works - https://github.com/microsoft/pyright/blob/main/docs/typed-libraries.md#library-interface
Example failing snippet:
```python
import pygit2
# 4:23 - error: "Repository" is not exported from module "pygit2" (reportPrivateImportUsage)
def test(repo: pygit2.Repository):
...
```__all__ to avoid typing errors1 parent 894a4dc commit 069c966
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
64 | 68 | | |
65 | 69 | | |
66 | 70 | | |
| |||
0 commit comments