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

.pre-commit-config.yaml

Lines changed: 4 additions & 5 deletions
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

pyproject.toml

Lines changed: 5 additions & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy