Code block width should max out at 79c?
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 57/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- python
- Domain
- documentation
Research direction
Read the pre-commit configuration changed in #1143 and compare it with the main repository’s setting and the example fix in PR #1185. Determine whether the code formatter should be configured for an 80-character line length; done means the configuration reflects the agreed width and the resulting formatting is consistent.
Written by the indexing model from the issue text.
Description
@TimMonko @brisvag I missed that the config in #1143 doesn't fit code to 79c as we do in the main repo, but instead uses black's default 89c. 🤢 😂 See this pre-commit fix on my recent PR.
In addition to my own preference for actually following PEP-8, I think in docs it's even more critical to fit code in a narrow space, as I often find myself side-scrolling on online code when on mobile or when having a browser window side by side with my code.
Should we update the config to fit in 80c?
- Dominant language
- Makefile
- Stars
- 13
- Forks
- 71
- Avg merge
- 3d 8h
- Merged PRs (30d)
- 31
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No 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 napari/docs
-
Link Checker ReportPossibly taken @rezamuliawijaya claimed this today. Openmaintenance task
Difficulty 1/5 1-3 hours Newbie friendliness 75/100
napari/docs#1201 · 1 comment ·
Maintainers usually reply within 2 days
-
task
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
napari/docs#1152 · 3 comments ·
Maintainers usually reply within 2 days
-
Difficulty 1/5 1-3 hours Newbie friendliness 62/100
napari/docs#653 · 1 reaction ·
Maintainers usually reply within 2 days
-
task
Difficulty 4/5 3-5 days Newbie friendliness 53/100
Maintainers usually reply within 2 days
Similar issues
-
customer-reported question
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Azure/azure-rest-api-specs#48017 ·
Maintainers usually reply within 1 day
-
needs-triage
Difficulty 1/5 1-3 hours Newbie friendliness 76/100
Azure/azure-sdk-for-net#64658 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
documentation good first issue priority: low
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
TMHSDigital/Free-Game-Dev-Assets#270 ·
Maintainers usually reply within 1 day
-
documentation good first issue
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
btclib-org/btclib-ecc#476 ·