Skip to content

.pre-commit-config.yaml: Add codespell - #43

Merged
okken merged 4 commits into
okken:masterfrom
cclauss:patch-1
May 4, 2020
Merged

okken merged 4 commits into
okken:masterfrom
cclauss:patch-1

Conversation

@cclauss

@cclauss cclauss commented Apr 27, 2020 •

Copy link
Copy Markdown
Contributor

Fixes #42

  1. Commit 1 Add codespell to pre-commit.yaml -- CI tests are not run :-(
    • It unsafe to assume that outside contributors have pre-commit properly installed.
  2. Commit 2 Add a GitHub Action to run this repo's pre-commit on all incoming PRs -- ❌
    • Trust but verify
  3. Commit 3 Fix typo discovered by codespell -- ✅

@okken

okken commented May 4, 2020

Copy link
Copy Markdown
Owner

Very cool. Thank you for this addition.
Also appreciate the demo of adding pre-commit to a github action

@okken
okken merged commit f86857e into okken:master May 4, 2020
@cclauss
cclauss deleted the patch-1 branch May 4, 2020 14:47
@peternewman

Copy link
Copy Markdown

For info, there's also an action already in the marketplace to do all the pre-commit stuff automatically for you:
https://github.com/marketplace/actions/pre-commit

And probably with a bit more error checking.

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.

Add codespell to the testing?

3 participants