# You can run the following command in the repository root:
# uv tool run codespell --toml tools/codespell.toml

[tool.codespell]

skip = [
    "**/stop_words/*.rs",
    "./lib/segment/src/index/field_index/full_text_index/tokenizers/ascii_folding.rs", # contains character mappings
    "./static",
    "./tests/e2e_tests/test_data/cert/key.pem",
    "openapi.json", # openapi.json is typically a released version and could carry old typos
    "target",
]

ignore-words-list = [
    "ABD",                 # Geohash example
    "INDX",                # bitvec crate const
    "generall",            # The boss
    "hel",                 # Query token
    "inout",               # Rust inline-asm operand keyword
    "mmapped",             # Memory mapped
    "ser",                 # Serde package
]
