Add a line count to the summary
评估
调研方向
Find the existing word and character count functions and their tests, then follow the same entry points for line counting. Check empty text and text without line breaks, and add tests for both cases. Done when line_count(text) returns zero for empty text and one for text without line breaks; an open pull request already addresses this issue.
由索引模型根据 Issue 内容生成。
描述
It would help to know how many lines a piece of text has, as well as words and characters.
- Add a
line_count(text)function. - Empty text should have no lines.
- Text with no line breaks is one line.
There's a pull request for this: "Add a line count".
- 主要语言
- Python
- 星标
- 1
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Community-Access/quill-github-practice 的其他 Issue
-
enhancement
难度 2/5 1-3 小时 新手友好度 69/100
-
question
难度 5/5 一周以上 新手友好度 25/100
Community-Access/quill-github-practice#4 · 3 条评论 ·
-
documentation
难度 1/5 1-3 小时 新手友好度 75/100
-
Word count is off by one when text ends with a space可能已有人在做 @accesswatch 于 20 天前认领。 未关闭bug
Community-Access/quill-github-practice#1 · 1 条评论 · 已指派 1 人 ·
查看 Community-Access/quill-github-practice 的全部 Issue
相似的 Issue
-
request_access
难度 1/5 1 小时以内 新手友好度 75/100
-
blocker bug
难度 2/5 1-3 小时 新手友好度 76/100
achisolomon/software-factory#305 ·
-
难度 2/5 1-3 小时 新手友好度 92/100
erkamyaman/rust-anything#963 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 92/100
commonmark/commonmark-spec#850 ·
-
documentation good first issue
难度 2/5 1-3 小时 新手友好度 78/100