Skip to content

Commit b7fbf17

Browse files
yarikopticclaude
andauthored
.codespellrc: document each skip pattern and whitelisted word (#7463)
Signed-off-by: Yaroslav Halchenko <debian@onerussian.com> Co-authored-by: Claude Code 2.1.157 / Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 7dc8c66 commit b7fbf17

1 file changed

Lines changed: 28 additions & 1 deletion

File tree

.codespellrc

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,33 @@
11
[codespell]
2+
# Skip:
3+
# - .git, *.pdf, *.svg: VCS metadata and binaries
4+
# - *.pb: compiled protobuf descriptors
5+
# - go.sum, go.mod, *.lock, *.lock.yaml, *requirements.txt: dependency lock files
6+
# - gen: generated code (protobuf bindings etc.)
7+
# - monodocs-environment.lock.yaml: conda lock file
8+
# - *.swagger.json: generated swagger specs (escape sequences look like typos)
29
skip = .git,*.pb,*.pdf,*.svg,go.sum,go.mod,*requirements.txt,gen,monodocs-environment.lock.yaml,*.lock,*.lock.yaml,*.swagger.json
310
check-hidden = true
411
# Ignore camelCase and PascalCase identifiers (common in Go code)
512
ignore-regex = \b[a-z]+[A-Z]\w*\b|\b[A-Z][a-z]+[A-Z]\w*\b
6-
ignore-words-list = astroid,bootup,decorder,fo,lightyear,nd,notin,ser,te
13+
# Per-word rationale below; multi-line list with inline comments
14+
# (config-file feature, see https://github.com/codespell-project/codespell#using-a-config-file).
15+
ignore-words-list =
16+
# Python static-analysis library name (referenced in conda lockfiles)
17+
astroid,
18+
# Legitimate word used in scheduler docs and Go code ("during bootup")
19+
bootup,
20+
# Go linter package: gitlab.com/bosi/decorder
21+
decorder,
22+
# Short Go variable name for "file output" (flytectl docker test)
23+
fo,
24+
# Buzz Lightyear used as test-data string in flytectl examples
25+
lightyear,
26+
# Test-fixture string content in flyteplugins template tests
27+
nd,
28+
# Kubernetes label-selector operator (e.g. "key notin (a,b)")
29+
notin,
30+
# Variable name short for "serialized" (Ser field in scheduler snapshot)
31+
ser,
32+
# Truncated PR title in CHANGELOG ("log te..." for "log template")
33+
te

0 commit comments

Comments
 (0)