Autocomplete, Stub-files (.pyi) and More... #1805
Unanswered
BilakshanP
asked this question in
Q&A
Replies: 1 comment
-
RTD: https://maturin.rs/project_layout#adding-python-type-information |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am currently working on Python library using Maturin-PyO3 bindings.
For, myself I have created a stub-file in .env/lib/py_lib_name/py_lib_name.pyi, which helps me get the autocomplete results...
But in .gitignore file the venv names .env is mentioned, thus the stub-file I have written won't be helping out anybody who clones the repo from github, I was wondering how can I work-around this limitation.
I sure that I am doing something wrong, but it would be awesome if I could be nudged towards the correct path by somebody...
I myself am using vs-code on wsl.
Beta Was this translation helpful? Give feedback.
All reactions