👷 Add codespell to pre-commit

As suggested in #4603
This commit is contained in:
Gina Häußge committed 2022-08-03 11:07:29 +02:00
1 parent 41b003b2f3
commit a2c0323f39
3 files changed
+14

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
managable
commitish
matchs
medias
+4
View File
@@ -67,3 +67,7 @@ repos:
- eslint-plugin-cypress@2.11.2
files: \.js$
exclude: ^(src/octoprint/vendor/|tests/static/js/lib|tests/util/_files|docs/|scripts/|translations/)
- repo: https://github.com/codespell-project/codespell
rev: v2.1.0
hooks:
- id: codespell
+6
View File
@@ -33,3 +33,9 @@ known_first_party =
octoprint
octoprint_setuptools
octoprint_client
[codespell]
skip = *.po,*.min.js,.git,*/vendor,*/lib,*/bootstrap,*/node_modules,*/translations,*/venv*,*/.*,*/build,*/_build,setup.cfg,AUTHORS.md
ignore-words = .codespell_ignore_words
quiet-level = 3
count =