If I have the following .codespellrc for codespell==2.2.2:
[codespell]
check-filenames = True
check-hidden = True
And I run the below:
> codespell foo
usage: codespell [-h] [--version] [-d] [-c] [-w] [-D DICTIONARY] [--builtin BUILTIN-LIST] [--ignore-regex IGNORE_REGEX] [-I FILE] [-L WORDS] [--uri-ignore-words-list WORDS] [-r REGEX] [--uri-regex URI_REGEX] [-s] [--count] [-S SKIP]
[-x FILE] [-i INTERACTIVE] [-q QUIET_LEVEL] [-e] [-f] [-H] [-A LINES] [-B LINES] [-C LINES] [--config CONFIG] [--toml TOML]
[files ...]
codespell: error: unrecognized arguments: True
So this seems to be wrong. From a GitHub advanced search, I see this:
[codespell]
check-filenames =
check-hidden =
However, this is not clear to me, would the checks be enabled or disabled here?
Can you please document how to put check-filenames and check-hidden into the README? Thank you in advance
If I have the following
.codespellrcforcodespell==2.2.2:And I run the below:
> codespell foo usage: codespell [-h] [--version] [-d] [-c] [-w] [-D DICTIONARY] [--builtin BUILTIN-LIST] [--ignore-regex IGNORE_REGEX] [-I FILE] [-L WORDS] [--uri-ignore-words-list WORDS] [-r REGEX] [--uri-regex URI_REGEX] [-s] [--count] [-S SKIP] [-x FILE] [-i INTERACTIVE] [-q QUIET_LEVEL] [-e] [-f] [-H] [-A LINES] [-B LINES] [-C LINES] [--config CONFIG] [--toml TOML] [files ...] codespell: error: unrecognized arguments: TrueSo this seems to be wrong. From a GitHub advanced search, I see this:
However, this is not clear to me, would the checks be enabled or disabled here?
Can you please document how to put
check-filenamesandcheck-hiddeninto theREADME? Thank you in advance