Skip to content

Update codespell config - #5846

Merged
timvisee merged 1 commit into
devfrom
fix-codespell
Jan 22, 2025
Merged

timvisee merged 1 commit into
devfrom
fix-codespell

Conversation

@xzfc

@xzfc xzfc commented Jan 22, 2025 •

Copy link
Copy Markdown
Member

This PR updates codespell config.

Primary change:

  • added new word ABD to fix this recent error (GitHub actions log):
    Error: ./lib/segment/src/index/field_index/geo_index/mmap_geo_index.rs:46: ABD ==> AND, BAD
    

Nice-to haves in this PR:

  • Entries are split into multiple lines and reorganized for easier maintaining. Redundant entries removed.
  • Added some entries from .gitignore (like static,target, etc), so it's now properly runnable locally using the codespell command.
  • Removed options from .github/workflows/codespell.yml. Let .codespellrc be the single source of truth.

(not in this PR) Ideally, we'd move/convert .codespellrc to tools/codespell.toml and run it as codespell --toml tools/codespell.toml, but currently it's only supported in the CLI tool, but not in the GitHub action config.

@xzfc
xzfc marked this pull request as ready for review January 22, 2025 06:44
@xzfc
xzfc requested review from generall and timvisee January 22, 2025 06:44
@xzfc xzfc added the chore Nice to have improvement label Jan 22, 2025
@timvisee
timvisee merged commit a923f6b into dev Jan 22, 2025
@timvisee
timvisee deleted the fix-codespell branch January 22, 2025 08:48
@timvisee timvisee mentioned this pull request Jan 22, 2025
8 of 9 tasks
timvisee pushed a commit that referenced this pull request Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Nice to have improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants