pybind / pybind/pybind11-stubgen

Where to store the generated stubs?

Open
#201 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
Python
Stars
361
Forks
75
PR merge metrics
No merged PRs in 30d

Description

I have generated stubs for a pip installed module (generated with pybind11) to aid with development.

I have pyright as my Language Server Protocol (LSP). Where should I put the generated stubs for pyright (or any other LSP) to read them?

Thanks!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files or tests are named. Start by reviewing the repository README and documentation, then check pyright's documented stub-discovery behavior for pip-installed modules. Done means documenting a supported location or configuration for generated stubs, with any relevant limitations clearly stated.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
developer-experience, tooling
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.