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
The top-level pyproject.toml includes a codespell configuration that adds a global ignore-words-list. This is because codespell is incorrectly identifying some words as misspellings. Ideally, we'd use a per-usage ignore, rather than a global ignore.
Disable the ignore-words-list configuration in the top level pyproject.toml
Run pre-commit run --all
Expected behavior
Pre-commit should pass the codespell test without error.
Screenshots
No response
Environment
Pre-commit/CI.
Logs
Additional context
Our codespell dependency is set at v2.2.6 at time of writing. When a new version of codespell is released, our pre-commit update task will automatically upgrade the version, at which point we can replace the ignore-words-list global config with per-line ignores (e.g., # codespell:ignore crate)for the specific places where there is a problem.
The text was updated successfully, but these errors were encountered:
Describe the bug
The top-level pyproject.toml includes a codespell configuration that adds a global ignore-words-list. This is because codespell is incorrectly identifying some words as misspellings. Ideally, we'd use a per-usage ignore, rather than a global ignore.
This was logged as codespell-project/codespell#1212, which was implemented as codespell-project/codespell#2400. We should use the new feature in Toga.
Steps to reproduce
ignore-words-list
configuration in the top level pyproject.tomlpre-commit run --all
Expected behavior
Pre-commit should pass the codespell test without error.
Screenshots
No response
Environment
Pre-commit/CI.
Logs
Additional context
Our codespell dependency is set at v2.2.6 at time of writing. When a new version of codespell is released, our pre-commit update task will automatically upgrade the version, at which point we can replace the ignore-words-list global config with per-line ignores (e.g.,
# codespell:ignore crate
)for the specific places where there is a problem.The text was updated successfully, but these errors were encountered: