Add `pyqtgraph` stub
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 5.1k
- Forks
- 2.1k
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 82
Description
The pyqtgraph library has some dynamically inherited methods for some classes, which make my linter and type checker mad.
For example, the GraphicsLayoutWidget is a PyQt widget, which has a GraphicsLayout as its central item. For convenience, it then adds a bunch of methods from the GraphicsLayout class to itself, which are then missed by the type checker.
That is why I would like to request to add the stub files for this third-party library.
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 reviewing how typeshed represents third-party Python libraries and the public API of pyqtgraph, especially GraphicsLayoutWidget and its dynamically inherited methods. Done means adding usable stub files for the requested library so type checkers can recognize those methods.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100