-
Notifications
You must be signed in to change notification settings - Fork 497
Closed
Description
we have
❯ grep dictionary .codespellrc
dictionary = .codespell_dictin https://github.com/bids-standard/bids-specification/blob/HEAD/.codespellrc but that disables default dictionaries, and I need to specify -D- to get them used:
❯ codespell
❯ codespell -D-
./DECISION-MAKING.md:17: Curent ==> Current
./src/common-principles.md:188: entites ==> entitiesUnfortunately, -D is the different style than e.g. --skip which expects them comma separated and -D doesn't work that way:
❯ git diff
diff --git a/.codespellrc b/.codespellrc
index 28aeafee..a513a1a7 100644
--- a/.codespellrc
+++ b/.codespellrc
@@ -2,5 +2,5 @@
skip = *.js,*.svg,*.eps,.git
ignore-words-list = fo,te,als
builtin = clear,rare
-dictionary = .codespell_dict
+dictionary = -,.codespell_dict
exclude-file = src/CHANGES.md
❯ codespell
...
codespell: error: argument -D/--dictionary: expected one argumentso the question is how could I keep using default dictionaries + custom one while relying on specification in the config file?
Metadata
Metadata
Assignees
Labels
No labels