Skip to content

Conversation

@p-r-a-v-i-n
Copy link
Contributor

Since we already have some configuration for codespell in pyproject.toml. and another configuration in pre-commit-config.yml.

moving codespell configuration to one centralized file would simply things and it will keep the pre-commit-config.yml clean

[tool.codespell]
# Ref: https://github.com/codespell-project/codespell#using-a-config-file
skip = "*/kickstarter-announcement.md,*.js,*.map,*.po"
ignore-words-list = "fo,malcom,ser"
Copy link
Contributor Author

@p-r-a-v-i-n p-r-a-v-i-n Jan 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since we have dedicate file keep these words. i removed ignore-words-list from here. add those in codespell-ignore-words.txt.

- black==25.9.0
- repo: https://github.com/codespell-project/codespell
# Configuration for codespell is in .codespellrc
# Configuration for codespell is in pyproject.toml
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we keep this comment ?

@p-r-a-v-i-n p-r-a-v-i-n changed the title Move codespell configuration to pyproject.toml Cleanup pre-commit config by moving codespell configuration to pyproject.toml Jan 3, 2026
@browniebroke browniebroke changed the title Cleanup pre-commit config by moving codespell configuration to pyproject.toml Move all codespell configuration in pyproject.toml Jan 5, 2026
@browniebroke browniebroke merged commit 3f190b7 into encode:main Jan 5, 2026
7 checks passed
@p-r-a-v-i-n p-r-a-v-i-n deleted the cleanup branch January 5, 2026 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants