Commit 7c9a1bf
committed
fix: Resolve all type checking errors in cache_manager.py
- Add proper type annotation for Redis client (Any type)
- Configure ruff to ignore PLC0415 for cache_manager.py (local import for optional redis)
- Add type ignore comments for import-untyped and unreachable code
- Import redis in TYPE_CHECKING block for type hints
All checks now pass: ruff format, ruff check, and mypy
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com)1 parent 6b72292 commit 7c9a1bf
2 files changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| |||
0 commit comments