Skip to content

Commit

Permalink
Update .pre-commit-config.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
rasbt authored Jul 16, 2024
1 parent 058da89 commit 343db5e
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# A tool used by developers to identify spelling errors in text.
# Readers may ignore this file.

default_stages: [commit]

repos:
Expand All @@ -6,7 +9,9 @@ repos:
hooks:
- id: codespell
name: codespell
description: Checks for common misspellings in text files.
entry: codespell --skip="*.bpe,*.json" -L "ocassion,occassion,ot,te,tje"
description: Check for spelling errors in text.
entry: codespell
language: python
types: [text]
args:
- "-L ocassion,occassion,ot,te,tje"
files: \.txt$|\.md$|\.py|\.ipynb$

0 comments on commit 343db5e

Please sign in to comment.