Skip to content

Commit 390f701

Browse files
committed
pre-commit: Add codespell
1 parent 85793d6 commit 390f701

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,18 @@ repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
33
rev: 54a455f7ce629598b7535ff828fd5fb796f4b83f # frozen: v0.12.9
44
hooks:
5-
- id: ruff
5+
- id: ruff-check
66
- id: ruff-format
77
- repo: https://github.com/astral-sh/uv-pre-commit
88
rev: f9572a6b06237978e1d52fad0ae55bac5e36da26 # frozen: 0.8.12
99
hooks:
1010
- id: uv-lock
11+
- repo: https://github.com/codespell-project/codespell
12+
rev: 63c8f8312b7559622c0d82815639671ae42132ac # frozen v2.4.1
13+
hooks:
14+
- id: codespell
15+
additional_dependencies:
16+
- tomli
1117
- repo: https://github.com/pre-commit/pre-commit-hooks
1218
rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0
1319
hooks:

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@ filterwarnings = [
111111
"error",
112112
]
113113

114+
[tool.codespell]
115+
ignore-words-list = "te"
116+
114117
[tool.coverage.run]
115118
branch = true
116119
source = ["flask", "tests"]

0 commit comments

Comments
 (0)