Typing and formatting
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
Start by reviewing the main Python file and the tests mentioned in the issue, then determine whether maintainers want mypy checks, a formatter, or both. The work is not ready to begin until the formatter choice, typing location, and concrete scope are decided; done would mean implementing that agreed scope consistently.
Written by the indexing model from the issue text.
Description
I would like to volunteer to add type hints with mypy checks and include a formatting tool like Black or Ruff on the main file and tests. But before I have to ask:
-
Is introducing a formatting tool an acceptable change? There are some places where I would like to change the styling a bit.
-
If running a formatting tool on the code is not an option, but type hints are, should they be added inline or in a separate
.pyifile?
I'm not looking to be disruptive. I just want to know if this is a nice-to-have or if it's not needed
- Dominant language
- Python
- Stars
- 5.2k
- Forks
- 765
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 1
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing 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.
More from PyCQA/pycodestyle
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
PyCQA/pycodestyle#1294 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
PyCQA/pycodestyle#1242 · 2 comments ·
-
Spurious E231 for nested format substitutionsMay be free again @inchang-ing claimed this 34 days ago, and no pull request is open. Open
Difficulty 3/5 1-2 days Newbie friendliness 68/100
PyCQA/pycodestyle#1241 · 3 comments · 4 reactions ·
-
`exclude` is applied to `.`May be free again @OnlineBunker claimed this 12 days ago, and no pull request is open. Open
Difficulty 3/5 1-2 days Newbie friendliness 45/100
PyCQA/pycodestyle#1217 · 3 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
PyCQA/pycodestyle#1189 · 6 comments · 1 reaction ·
All issues in PyCQA/pycodestyle
Similar issues
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 85/100
NatLabRockies/openstudio-mcp#286 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
intersystems/ipm#1338 ·
Maintainers usually reply within 1 day
-
separate_packages splits imports from the same explicitly configured packagePossibly taken @rahul05ranjan claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 2 days
-
The v0-through-v1 path derives ShutdownDuration its own way, silently overriding a user's definitionOpenv1
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day