mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-27 15:30:45 +01:00
* s3: nil-check metadataConfiguration before reading its keys * s3: honor maxResults/nextToken in segmented ListVectors * s3: exclude non-Lance buckets from ListVectorBuckets * s3: test segmented ListVectors paging token math * ci: silence codespell on the "$nin" operator and rename lits
25 lines
1.7 KiB
Plaintext
25 lines
1.7 KiB
Plaintext
[codespell]
|
|
# Ref: https://github.com/codespell-project/codespell#using-a-config-file
|
|
skip = .git,.git-meta,.gitignore,.gitattributes,*.svg,go.sum,vendor,*.lock,*.css,*.min.*,.codespellrc,*_templ.go
|
|
check-hidden = true
|
|
# Ignore camelCase and PascalCase identifiers (very common in Go/Rust/JS
|
|
# source, e.g. allLocations, publishErr, ReadInside, FlushInterval).
|
|
ignore-regex = \b[a-z]+[A-Z]\w*\b|\b[A-Z][a-z]+[A-Z]\w*\b
|
|
# visibles: variable name for VisibleInterval collections in filer/mount code
|
|
# fo: `*FilerOptions` receiver name (e.g. `func (fo *FilerOptions) ...`)
|
|
# te: "truncate error" local variable (e.g. `if te := w.Truncate(end); te != nil`)
|
|
# ser: Rust serde serializer variable (`serde_json::ser`, `let mut ser = ...`)
|
|
# bject: intentional wildcard test data (e.g. `s3:Get?bject` matching `s3:GetObject`)
|
|
# unparseable: accepted alternate spelling used throughout the codebase
|
|
# keep-alives: correct plural of the technical term (SSH/HTTP keep-alive)
|
|
# tread: valid English word in the idiom "tread carefully" (help text)
|
|
# anc: variable abbreviation for "ancestor" in tree/path tests
|
|
# ue: appears inside JSON test fixtures with embedded escaped quotes (Bl\"ue)
|
|
# auther: local variable meaning "authenticator" (tls.go: `auther := Authenticator{}`)
|
|
# thirdparty: literal Maven groupId `org.apache.hadoop.thirdparty` (external, cannot rename)
|
|
# unknwon: GitHub username / Go module path (`github.com/unknwon/goconfig`)
|
|
# atleast: CLI mode literal string in test/benchmark/fuse_db/bin/sqlite_verify.py
|
|
# sme: local variable for a *streamMutateError in mount tests
|
|
# nin: AWS S3 Vectors "$nin" filter operator literal (API-defined, cannot rename)
|
|
ignore-words-list = visibles,fo,te,ser,bject,unparseable,keep-alives,tread,anc,ue,auther,thirdparty,unknwon,atleast,sme,nin
|