Skip to content

Docs Request: how to put check-hidden into .codespellrc #2718

Open
@jamesbraza

Description

@jamesbraza

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions