Skip to content

Commit 8910127

Browse files
committed
pre-commit: Add codespell
1 parent 703fe0e commit 8910127

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ repos:
1212
- id: black
1313
language_version: python3.9
1414

15+
- repo: https://github.com/codespell-project/codespell
16+
rev: v2.4.1
17+
hooks:
18+
- id: codespell # See pyproject.toml for args
19+
additional_dependencies:
20+
- tomli
21+
1522
- repo: https://github.com/pycqa/flake8
1623
rev: 7.2.0
1724
hooks:

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ target-version = [
8686
profile = "black"
8787
py_version = "39"
8888

89+
[tool.codespell]
90+
skip = "AUTHORS.rst,*.po"
91+
8992
[tool.coverage.run]
9093
parallel = true
9194
branch = true

0 commit comments

Comments
 (0)