Skip to content

Commit 4cbfea8

Browse files
committed
use codespell
1 parent 340030a commit 4cbfea8

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

Diff for: .pre-commit-config.yaml

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
repos:
2-
- repo: https://github.com/crate-ci/typos
3-
rev: v1.19.0
2+
- repo: https://github.com/codespell-project/codespell
3+
rev: v2.2.4
44
hooks:
5-
- id: typos
6-
args: [] # empty to do not write fixes
7-
exclude: pyproject.toml
5+
- id: codespell
6+
additional_dependencies: [tomli]
87

98
- repo: https://github.com/astral-sh/ruff-pre-commit
109
rev: v0.3.2

Diff for: pyproject.toml

+5
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,8 @@ lint.unfixable = [
7979
"test/**" = [
8080
"B018", # useless-expression
8181
]
82+
83+
[tool.codespell]
84+
#skip = '*.po,*.ts,./src/3rdParty,./src/Test'
85+
#count = true
86+
quiet-level = 3

0 commit comments

Comments
 (0)