Skip to content

Commit

Permalink
Add codespell precommit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
TheophileDiot committed Oct 3, 2023
1 parent 8fbe692 commit eea5dd9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@ repos:
args: ["--allow-multiple-documents"]
- id: check-case-conflict

- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
hooks:
- id: codespell
name: Codespell Spell Checker
exclude: modsecurity-rules.conf.*$
entry: codespell --ignore-regex="(tabEl|Widgits)" --skip src/common/core/antibot/files/*.html,src/common/core/misc/files/*.html,src/common/core/errors/files/*.html,src/bw/loading/*.html,src/ui/static/js/utils/flatpickr.js,CHANGELOG.md
language: python
types: [text]

- repo: https://github.com/ambv/black
rev: 23.9.1
hooks:
Expand Down

0 comments on commit eea5dd9

Please sign in to comment.