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".
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