`stubgen` plugin support (via config file)
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 20.6k
- Forks
- 3.3k
- PR merge metrics
- PR metrics pending
Description
Feature
Similar to #9193, I'd like to run stubgen with a custom plugin, and more generally, let stubgen take a config file
Pitch
stubgen is a really powerful tool (thanks devs for all the hard work!), but could become even more powerful by extending type support through custom plugins. Currently, there's no way (that I have found) to pass a configuration file (or at the very least extra_plugins to build) to stubgen, while !9203 exposed this option for stubtest.
The idea would be to implement a similar approach inside stubgen so we aren't forced to use the (much slower) interpreted version of mypy
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by examining stubgen's command-line entry point and compare its configuration handling with stubtest, especially the approach described in pull request #9203 and issue #9193. Done means stubgen accepts a configuration file or plugin setting such as extra_plugins and uses it without requiring the slower interpreted mypy path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100