Skip to content

Commit

Permalink
Add codespell hook to catch typos and spelling mistakes.
Browse files Browse the repository at this point in the history
  • Loading branch information
CreatingNull committed Feb 2, 2024
1 parent ea15848 commit ef6a936
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,9 @@ repos:
rev: v1.8.0
hooks:
- id: mypy

# Catch typos!
- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
hooks:
- id: codespell
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ You can add these hooks to your existing pre-commit workflow by adding a step to
See the following example step added to a `ubuntu-latest` pre-commit workflow:

```yaml
- name: Install Dependancies
- name: Install Dependencies
run: |
curl -fsSL https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/install.sh | sh
curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | sh
Expand Down

0 comments on commit ef6a936

Please sign in to comment.