Add a line count to the summary
Valutazione
- Difficoltà
- 1/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 20/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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".
- Lingua principale
- Python
- Stelle
- 1
- Fork
- 0
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Community-Access/quill-github-practice
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 69/100
-
question
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
Community-Access/quill-github-practice#4 · 3 commenti ·
-
documentation
Difficoltà 1/5 1-3 ore Idoneità per principianti 75/100
-
Word count is off by one when text ends with a spaceForse già presa @accesswatch l’ha presa 20 giorni fa. Apertabug
Community-Access/quill-github-practice#1 · 1 commento · 1 assegnatario ·
Tutte le issue di Community-Access/quill-github-practice
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
-
SQL Lab: pasting text that matches no database into the "Data connection" select throws TypeErrorAperta#bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 2 giorni
-
bug crash needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Community-Access/quill#2135 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
munendra07-tech/agent-crashtest#20 ·
I maintainer di solito rispondono entro 1 giorno
-
braveapi: time range filter is sent as time_range, which the Brave API ignores (needs freshness)Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
I maintainer di solito rispondono entro 1 giorno