conda / ceps

Conda Enhancement Proposals
Creative Commons Zero v1.0 Universal
19 stars 24 forks source link

Add codespell via pre-commit and fix findings #66

Closed dbast closed 2 months ago

dbast commented 5 months ago

This is a documentation only repo, but it can still benefit from automation like codespell running via pre-commit.

This adds pre-commit with codespell alongside some standard pre-commit hooks.

pre-commit.ci to be enabled in case this PR is accepted.

codespell is called in --write mode, so that non-ambiguous changes can be automatically applied. Thus as soon as pre-commit.ci is enabled also auto-fixing is possible by commenting PRs with "pre-commit.ci autofix".

If this gets accepted, more hooks can come via separate PR, like https://github.com/executablebooks/mdformat + with mdformat-gfm