Skip to content

Commit 7d4c337

Browse files
committed
Tune up pre-commit and config
1 parent 0119110 commit 7d4c337

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@ repos:
1010
hooks:
1111
- id: black
1212
files: ^src/|^tests/
13-
1413
- repo: https://github.com/codespell-project/codespell
1514
# Configuration for codespell is in .pre-commit-config.yaml
1615
rev: v2.4.1
1716
hooks:
18-
- id: codespell
17+
- id: codespell
18+
additional_dependencies:
19+
- tomli # for python_version < '3.11'
20+
exclude: ^doc/releases/.*\.rst

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,4 @@ line-length = 120
7171
skip = '.git*,*.pdf,*.svg,data,./doc/releases'
7272
check-hidden = true
7373
# ignore-regex = ''
74-
# ignore-words-list = ''
74+
ignore-words-list = 'compiletime'

0 commit comments

Comments
 (0)