Repository navigation
test: type-check CacheChecker tests - #12218
Merged
julian-risch merged 2 commits intoAug 3, 2026
Merged
Conversation
Contributor
|
@yaodong-shen is attempting to deploy a commit to the deepset Team on Vercel. A member of the Team first needs to authorize it. |
Both pyproject.toml and test/components/caching/test_cache_checker.py lost their final newline, which fails ruff W292 / ruff format in `hatch run fmt-check` and pre-commit's end-of-file-fixer. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
julian-risch
approved these changes
Aug 3, 2026
julian-risch
left a comment
Member
There was a problem hiding this comment.
Looks good to me! 👍 @yaodong-shen Thank you for your contribution and congratulations on your first PR merged into Haystack! 🎉
julian-risch
enabled auto-merge (squash)
August 3, 2026 11:24
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related issue
Part of #10396
Summary
test/components/caching/in the Hatch typing targetpatch.objectrather than reassigning a class method, keeping the CacheChecker test type-checkableValidation
hatch run fmt-check test/components/caching/test_cache_checker.py test/components/caching/test_cache_checker_async.py pyproject.tomlhatch -e test run mypy --show-traceback --install-types --non-interactive --cache-dir=.mypy_cache test/components/caching/This is a test/typing-only change, so it has no user-facing release note.
This PR was prepared with an AI assistant; the focused checks listed above passed, and the contributor remains responsible for reviewing it.