Skip to content

Commit d78a526

Browse files
committed
better codespell
1 parent 07c536a commit d78a526

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.pre-commit-config.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,6 @@ repos:
4141
rev: v2.4.1
4242
hooks:
4343
- id: codespell
44-
args: ["-LHEP"]
45-
exclude:
46-
- ^docs/usage/intro.ipynb$
47-
- ^docs/src/pytree.ipynb$
4844

4945
- repo: https://github.com/rbubley/mirrors-prettier
5046
rev: "v3.6.2"

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,3 +286,7 @@ disallow_untyped_calls = false
286286
module = "vector._pytree"
287287
# optree register_node typing requires vectors to be Collection, unnecessarily
288288
disable_error_code = ["call-arg", "arg-type"]
289+
290+
[tool.codespell]
291+
ignore-words-list = "HEP"
292+
ignore-regex = "[A-Za-z0-9+/]{100,}"

0 commit comments

Comments
 (0)