Skip to content

fix: resolve chunker ruff regressions#269

Merged
zc277584121 merged 1 commit intozilliztech:mainfrom
haosenwang1018:fix/chunker-ruff-regression
Apr 2, 2026
Merged

fix: resolve chunker ruff regressions#269
zc277584121 merged 1 commit intozilliztech:mainfrom
haosenwang1018:fix/chunker-ruff-regression

Conversation

@haosenwang1018
Copy link
Copy Markdown
Contributor

Summary

  • remove the unused loop index when emitting sub-chunks from oversized single-line input
  • replace fullwidth punctuation literals in the sentence-splitting regex with Unicode escapes
  • restore a green ruff run on the current main branch without changing chunking behavior

Testing

  • uv run ruff check src/memsearch/chunker.py
  • uv run ruff format --check src/memsearch/chunker.py
  • uv run python -m pytest tests/test_chunker.py -q

@zc277584121 zc277584121 merged commit b3b20cb into zilliztech:main Apr 2, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants