Documenting minimizing diffs for ease of review
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 45/100
- Tipo di issue
- Documentazione
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- python
- Ambito
- documentation
Direzione di ricerca
Leggi la guida di stile della documentazione collegata nell’issue e rivedi la discussione esistente sulla minimizzazione dei diff. Aggiungi indicazioni solo se il progetto concorda su questa preferenza, con esempi che mostrino lo stile di ritorno a capo consigliato; la guida di stile dovrebbe documentare chiaramente la convenzione una volta terminato il lavoro.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Suppose we have some lines that are close to 80 chars long
first text ... end first text.
second text ... end second text.
third text ... end third text.
and if the first line needs some sort of modification that would push it past 80 chars, we can either restructure the entire paragraph of raw rst so it looks tidier, but resulting in 4 lines of git diffs
first text plus some more ...
end first text. second text ...
end second text. third text ...
end third text.
or diffs can be minimized (but with an 'uglier' raw rst), such as like
first text plus some more ...
... end first text.
second text ... end second text.
third text ... end third text.
I think that for ease of reviewing, as well as to maintain a more useful git history, that the second is preferred in general but I haven't found it in the style guide, so maybe it can be added there if there's consensus on it?
- Lingua principale
- Python
- Stelle
- 2.1k
- Fork
- 1k
- Merge medio
- 2g 12h
- PR unite (30g)
- 12
Guida per i contributori
Apri 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 python/devguide
-
type-feature
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
type-feature
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
topic-building python type-feature
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
needs: decision topic-test type-bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
topic-dev process type-feature
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
Tutte le issue di python/devguide
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
qgis/QGIS-Documentation#11275 ·
-
bug priority:normal ready-for-dev
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
OpenHands/extensions#626 · 1 commento ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
CSCfi/sd-search-api#39 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
-
please add to porn list Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
StevenBlack/hosts#3255 ·