Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Request: pulling latest dictionary in `pre-commit` hook

オープン
#3,542 コメント 2 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
cli

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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).

主要言語
Python
スター
2.4k
フォーク
531
平均マージ
15時間 5分
マージ済み PR(30日)
18

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

codespell-project/codespell のほかの issue

codespell-project/codespell の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。