Skip to content

Commit 60d4c60

Browse files
Merge branch 'main' into fix/prevent-recursion-limit-fields
2 parents fc5c1a6 + 3f190b7 commit 60d4c60

6 files changed

Lines changed: 8 additions & 10 deletions

File tree

‎.pre-commit-config.yaml‎

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,10 @@ repos:
2626
additional_dependencies:
2727
- black==25.9.0
2828
- repo: https://github.com/codespell-project/codespell
29-
# Configuration for codespell is in .codespellrc
29+
# Configuration for codespell is in pyproject.toml
3030
rev: v2.4.1
3131
hooks:
3232
- id: codespell
33-
args: [
34-
"--builtin", "clear,rare,code,names,en-GB_to_en-US",
35-
"--ignore-words", "codespell-ignore-words.txt",
36-
"--skip", "*.css",
37-
]
38-
exclude: locale|kickstarter-announcement.md|coreapi-0.1.1.js
3933
additional_dependencies:
4034
# python doesn't come with a toml parser prior to 3.11
4135
- "tomli; python_version < '3.11'"

‎codespell-ignore-words.txt‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,7 @@ IAM
44
endcode
55
deque
66
thead
7-
lets
7+
lets
8+
fo
9+
malcom
10+
ser
5.66 KB
Loading
32 KB
Loading
110 KB
Loading

‎pyproject.toml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,9 @@ known_first_party = [ "rest_framework", "tests" ]
107107

108108
[tool.codespell]
109109
# Ref: https://github.com/codespell-project/codespell#using-a-config-file
110-
skip = "*/kickstarter-announcement.md,*.js,*.map,*.po"
111-
ignore-words-list = "fo,malcom,ser"
110+
skip = "*/kickstarter-announcement.md,*.js,*.map,*.po,*.css,locale"
111+
ignore-words = "codespell-ignore-words.txt"
112+
builtin = "clear,rare,code,names,en-GB_to_en-US"
112113

113114
[tool.pyproject-fmt]
114115
max_supported_python = "3.14"

0 commit comments

Comments
 (0)