flake8 complains about no definitions for import Actor, keyboard, keys, sounds, clock, music and screen.
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 611
- Forks
- 211
- PR merge metrics
- No merged PRs in 30d
Description
flake8 and i believe other alternatives will complain that pyzero builtins are not defined.
from pgzero.builtins import Actor, keyboard, keys, sounds, clock, music
The above seems to be the only work around for most of this. However either changes in stable or maybe was different in current but you can not add screen. In the recent past in current i would add screen but switching back to stable it's not working. So flake8 will constantly complain screen is not defined.
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 reproducing the flake8 warnings for the pyzero builtins listed in the issue, especially screen, using the documented import workaround. Then inspect how pgzero exposes these names and compare stable with current; done means the supported builtins no longer produce undefined-name warnings or the limitation is clearly documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100