Skip to content

codespell complains about its ignore-words-list in pyproject.toml #3248

@Borda

Description

@Borda

Not sure if I am doing something wrong but found it confusing that Codepell is complaining about words from its own configuration...

Running pre-commit with

  - repo: https://github.com/codespell-project/codespell
    rev: v2.2.6
    hooks:
      - id: codespell
        additional_dependencies: [tomli]

and having pyproject config

[tool.codespell]
skip = 'tests/*'
quiet-level = 3
ignore-words-list = "Chang,Manuel"

and getting the following error:

codespell................................................................Failed
- hook id: codespell
- exit code: 65

pyproject.toml:25: Manuel ==> Manual

found it while working on this PR: PyGithub/PyGithub#2858

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions