Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Suggestion: Extent interactive mode to enable user input

Aperta
#3,641 0 commenti 3 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
32/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
cli

Direzione di ricerca

Start by reading the CLI's interactive mode used with -wi2 and trace how it presents and handles correction choices. Determine how a user-entered correction should fit that interaction, then test the flow with a word such as procees. Done means users can enter a custom correction while retaining the existing skip and suggested-correction options.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

I frequently use codespell with -wi2 to correct multiple typos in long files before committing them. Every now and then, however, codespell (understandably) fails to suggest the desired correction, in which case I'm forced to skip it and manually fix it, which adds quite a bit of of overhead to the process. It would be great if I could provide the desired word on the spot. My suggestion is that given N suggested corrections, codespell would provide an N+1-th option that would prompt the user for the word.

Real example: I typed procees, so codespell gives me the options to type 0 for process or nothing for doing nothing. What it should do is provide the additional option of 1 (or -1 or so), which would then allow me to type proceeds, which is what I actually meant to type.

Lingua principale
Python
Stelle
2.4k
Fork
531
Merge medio
15h 55m
PR unite (30g)
17

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

  • Nessun Dockerfile né file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di codespell-project/codespell

Tutte le issue di codespell-project/codespell

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.