pybind / pybind/scikit_build_example

Request: Add `.pyi` type stubs to this project as a demonstration of how to integrate them

Open
#161 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
148
Forks
39
Avg merge
8d 2h
Merged PRs (30d)
1

Description

Potential steps/parts required:

  1. Generate them with pybind11-stubgen <module_name> -o ./stubs/
  2. Add them to the pyproject.toml file.
  3. Add the generation to the GitHub Actions to generate when a PR to the main branch is opened.

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

Start with the pybind11-stubgen command and inspect the existing pyproject.toml and GitHub Actions configuration. Generate stubs under ./stubs/, configure them in pyproject.toml, and verify that the workflow generates them when a pull request to main is opened.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, python
Domain
build-system, ci-cd
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.