Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add codespell configuration, pre-commit hook + make it fix some typos #1918

Closed
wants to merge 5 commits into from

Conversation

yarikoptic
Copy link

@yarikoptic yarikoptic commented Feb 13, 2024

TODOs

  • check if custom action needed or pre-commit will pick up new typo (removed now - pre-commit is enough)

=== Do not change lines below ===
{
 "chain": [],
 "cmd": "codespell -w",
 "exit": 0,
 "extra_inputs": [],
 "inputs": [],
 "outputs": [],
 "pwd": "."
}
^^^ Do not change lines above ^^^
@yarikoptic yarikoptic marked this pull request as ready for review February 13, 2024 16:35
# Configuration for codespell is in setup.cfg
rev: v2.2.6
hooks:
- id: codespell
Copy link
Author

Choose a reason for hiding this comment

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

note -- this is just a check, not a fixer, so if false positive - just add a skip in setup.cfg; i.e. there would be no bugs introduced by codespell

@asottile
Copy link
Member

no thanks, please open an issue before changing someone else's infra in the future

@asottile asottile closed this Feb 13, 2024
@yarikoptic
Copy link
Author

brr... ok. cherish the typos.

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.

None yet

2 participants