mirror of
https://github.com/qdrant/qdrant.git
synced 2026-07-23 11:11:00 -05:00
Move codespell config to tools/codespell.toml (#6707)
This commit is contained in:
22
.codespellrc
22
.codespellrc
@@ -1,22 +0,0 @@
|
||||
[codespell]
|
||||
|
||||
exclude-file =
|
||||
Cargo.lock,
|
||||
tests/tls/cert/key.pem,
|
||||
|
||||
# openapi.json is typically a released version and could carry old typos
|
||||
skip =
|
||||
openapi.json,
|
||||
static,
|
||||
target,
|
||||
|
||||
# ABD - Geohash example
|
||||
# generall - The boss
|
||||
# hel - Query token
|
||||
# mmapped - Memory mapped
|
||||
ignore-words-list =
|
||||
ABD,
|
||||
crate,
|
||||
generall,
|
||||
hel,
|
||||
mmapped,
|
||||
9
.github/workflows/codespell.yml
vendored
9
.github/workflows/codespell.yml
vendored
@@ -19,7 +19,8 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Codespell
|
||||
uses: codespell-project/actions-codespell@v2
|
||||
with:
|
||||
skip: '**/stop_words/*.rs'
|
||||
- name: Install Codespell
|
||||
run: python -m pip install --upgrade 'codespell[toml]'
|
||||
|
||||
- name: Run Codespell
|
||||
run: codespell --toml tools/codespell.toml
|
||||
|
||||
19
tools/codespell.toml
Normal file
19
tools/codespell.toml
Normal file
@@ -0,0 +1,19 @@
|
||||
# You can run the following command in the repository root:
|
||||
# uv tool run codespell --toml tools/codespell.toml
|
||||
|
||||
[tool.codespell]
|
||||
|
||||
skip = [
|
||||
"**/stop_words/*.rs",
|
||||
"./static",
|
||||
"./tests/tls/cert/key.pem",
|
||||
"openapi.json", # openapi.json is typically a released version and could carry old typos
|
||||
"target",
|
||||
]
|
||||
|
||||
ignore-words-list = [
|
||||
"ABD", # Geohash example
|
||||
"generall", # The boss
|
||||
"hel", # Query token
|
||||
"mmapped", # Memory mapped
|
||||
]
|
||||
Reference in New Issue
Block a user