posit-dev / posit-dev/py-shiny
Should run pyright on generated type stubs
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.8k
- Forks
- 135
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 21
Description
This is a follow-up to #828.
We should have an automated test which runs pyright on the generated .pyi files, as well as the examples, but using shiny type stubs generated by pyright instead of directly using the shiny sources directly. Shinylive uses the type stubs, so having these tests will help in that scenario.
Contributor guide
No contributing guide indexed for this repository
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 reading follow-up issue #828 and locating the existing generated-stub and example test setup. Check how pyright-generated .pyi files are produced and how Shinylive consumes them. Done means automated coverage runs pyright against the generated stubs and examples using those stubs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100