Request: pulling latest dictionary in `pre-commit` hook
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
Direzione di ricerca
Start with the existing dictionary-updating documentation linked in the issue, then trace how the CLI loads dictionary.txt when codespell runs as a pre-commit hook. Determine what behavior a flag should provide for the latest dictionary and for a specified repository commit. Done means the request is resolved with a defined, usable way for pre-commit users to select that dictionary.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I use codespell as a pre-commit hook, and I love it. It's really quite useful.
Normally, a new release of codespell comes with the latest dictionary.txt. I would like to be able to pull the latest dictionary.txt without relying on a codespell release. https://github.com/codespell-project/codespell/issues/116 made the same request, and ultimately made these docs: https://github.com/codespell-project/codespell#updating-the-dictionaries
However, these docs are not applicable to pre-commit users, as the dictionary.txt is ultimately squirreled away somewhere in ~/.cache/pre-commit/:
> find ~/.cache/pre-commit -name "dictionary.txt"
/Users/user/.cache/pre-commit/repo4_vfx6q6/codespell_lib/data/dictionary.txt
/Users/user/.cache/pre-commit/repo4_vfx6q6/build/lib/codespell_lib/data/dictionary.txt
/Users/user/.cache/pre-commit/repo4_vfx6q6/py_env-python3/lib/python3.12/site-packages/codespell_lib/data/dictionary.txt
/Users/user/.cache/pre-commit/repoa0vhi7kx/codespell_lib/data/dictionary.txt
The request is, can codespell expose some CLI flag that triggers codespell to use the latest dictionary.txt on master (or some arbitrary codespell repo's commit ID).
- Lingua principale
- Python
- Stelle
- 2.4k
- Fork
- 531
- Merge medio
- 15h 55m
- PR unite (30g)
- 17
Preparare l'ambiente
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
- 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 codespell-project/codespell
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
codespell-project/codespell#3997 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 63/100
codespell-project/codespell#3965 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Add "marcos"Forse già presa @ekanshul l’ha presa 20 giorni fa. Apertadictionary
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
codespell-project/codespell#3920 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
question
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
codespell-project/codespell#4005 ·
I maintainer di solito rispondono entro 1 giorno
-
duplicate question
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
codespell-project/codespell#3998 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di codespell-project/codespell
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
ComposioHQ/awesome-claude-skills#2398 ·
I maintainer di solito rispondono entro 2 giorni
-
bug converter
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
grafana/sigma-rule-deployment#435 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
datamodel-code-generator/datamodel-code-generator#5589 ·
I maintainer di solito rispondono entro 1 giorno
-
Shell: serve the home app's Cookie Policy on a hard reloadForse già presa @2001anshkaushik l’ha presa oggi. Apertafeature module:ai
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
rocketride-org/rocketride-server#2899 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
GEFSv12
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100