Add a line count to the summary
Bewertung
- Schwierigkeit
- 1/5
- Geschätzter Aufwand
- 1-3 Stunden
- Anfängerfreundlichkeit
- 20/100
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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".
- Vorherrschende Sprache
- Python
- Sterne
- 1
- Forks
- 0
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus Community-Access/quill-github-practice
-
enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 69/100
-
question
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
Community-Access/quill-github-practice#4 · 3 Kommentare ·
-
documentation
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 75/100
-
Word count is off by one when text ends with a spaceEvtl. vergeben @accesswatch hat das vor 20 Tagen übernommen. Offenbug
Community-Access/quill-github-practice#1 · 1 Kommentar · 1 zugewiesene Person ·
Alle Issues in Community-Access/quill-github-practice
Ähnliche Issues
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 90/100
-
SQL Lab: pasting text that matches no database into the "Data connection" select throws TypeErrorOffen#bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
Maintainer antworten meist innerhalb von 2 Tagen
-
bug crash needs-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Community-Access/quill#2135 ·
Maintainer antworten meist innerhalb von 1 Tag
-
documentation good first issue help wanted
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
munendra07-tech/agent-crashtest#20 ·
Maintainer antworten meist innerhalb von 1 Tag
-
braveapi: time range filter is sent as time_range, which the Brave API ignores (needs freshness)Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 90/100
Maintainer antworten meist innerhalb von 1 Tag