You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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. #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/:
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).
The text was updated successfully, but these errors were encountered:
Thanks for the suggestion, though it's not totally what I was looking for. I think with bleeding edge:
The dictionary.txt always gets better: this is good
The core codespell package may get issues on its HEAD branch that would my repo's CI's stability
What I want is a way to get the benefits of item 1 without the downsides of item 2. In other words, I mainly want the latest dictionary.txt, but actually don't want the latest codespell package version (it can stay at rev of v2.3.0).
So I am hoping there can be a better way, perhaps using pre-commit's additional_dependencies, where the dictionary.txt is a standalone PyPI package that gets autoreleased weekly with CalVer
I use
codespell
as apre-commit
hook, and I love it. It's really quite useful.Normally, a new release of
codespell
comes with the latestdictionary.txt
. I would like to be able to pull the latestdictionary.txt
without relying on acodespell
release. #116 made the same request, and ultimately made these docs: https://github.com/codespell-project/codespell#updating-the-dictionariesHowever, these docs are not applicable to
pre-commit
users, as thedictionary.txt
is ultimately squirreled away somewhere in~/.cache/pre-commit/
:The request is, can
codespell
expose some CLI flag that triggerscodespell
to use the latestdictionary.txt
onmaster
(or some arbitrarycodespell
repo's commit ID).The text was updated successfully, but these errors were encountered: