Skip to content

typos improvements #583

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

typos improvements #583

wants to merge 3 commits into from

Conversation

bmrips
Copy link
Contributor

@bmrips bmrips commented Apr 13, 2025

This PR comprises three changes to the typos hook:

  • Use structured configuration by making typos.settings.configuration an attrs. This change is not backwards compatible.
  • Add the typos.settings.force-exclude option that maps to typos' --force-exclude argument. In addition, enable it by default since you expect exclude globs set via the --exclude CLI option or the configuration file's [files.extend-exclude] option to be effective.
  • Enable multiple exclusion patterns in typos.settings.exclude.

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.

1 participant