yusyus
|
c72056a8c9
|
fix: Import Callable from collections.abc instead of typing
- Change import to match ruff UP035 rule
- Import from collections.abc for Python 3.9+ compatibility
- Fixes linting error in Code Quality check
|
2026-02-08 14:52:37 +03:00 |
|
yusyus
|
32cb41e020
|
fix: Replace builtin 'callable' with 'Callable' type hint
- Fix streaming_ingest.py line 180: callable -> Callable
- Fix streaming_adaptor.py line 39: callable -> Callable
- Add Callable import from collections.abc and typing
- Fixes TypeError in Python 3.11: unsupported operand type(s) for |
- Resolves CI coverage report collection errors
|
2026-02-08 14:47:26 +03:00 |
|
yusyus
|
0265de5816
|
style: Format all Python files with ruff
- Formatted 103 files to comply with ruff format requirements
- No code logic changes, only formatting/whitespace
- Fixes CI formatting check failures
|
2026-02-08 14:42:27 +03:00 |
|
yusyus
|
51787e57bc
|
style: Fix 411 ruff lint issues (Kimi's issue #4)
Auto-fixed lint issues with ruff --fix and --unsafe-fixes:
Issue #4: Ruff Lint Issues
- Before: 447 errors (originally reported as ~5,500)
- After: 55 errors remaining
- Fixed: 411 errors (92% reduction)
Auto-fixes applied:
- 156 UP006: List/Dict → list/dict (PEP 585)
- 63 UP045: Optional[X] → X | None (PEP 604)
- 52 F401: Removed unused imports
- 52 UP035: Fixed deprecated imports
- 34 E712: True/False comparisons → not/bool()
- 17 F841: Removed unused variables
- Plus 37 other auto-fixable issues
Remaining 55 errors (non-critical):
- 39 B904: Exception chaining (best practice)
- 5 F401: Unused imports (edge cases)
- 3 SIM105: Could use contextlib.suppress
- 8 other minor style issues
These remaining issues are code quality improvements, not critical bugs.
Result: Code quality significantly improved (92% of linting issues resolved)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
2026-02-08 12:46:38 +03:00 |
|
yusyus
|
5ce3ed4067
|
feat: Add streaming ingestion for large docs (Task #14)
- Memory-efficient streaming with chunking
- Progress tracking with real-time stats
- Batch processing and resume capability
- CLI integration with --streaming flag
- 10 tests passing (100%)
Files:
- streaming_ingest.py: Core streaming engine
- streaming_adaptor.py: Adaptor integration
- package_skill.py: CLI flags added
- test_streaming_ingestion.py: Comprehensive tests
Week 2: 5/9 tasks complete (56%)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
2026-02-07 13:39:43 +03:00 |
|