|
1 | 1 | [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) |
2 | 9 | skip = .git,*.pb,*.pdf,*.svg,go.sum,go.mod,*requirements.txt,gen,monodocs-environment.lock.yaml,*.lock,*.lock.yaml,*.swagger.json |
3 | 10 | check-hidden = true |
4 | 11 | # Ignore camelCase and PascalCase identifiers (common in Go code) |
5 | 12 | 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