James R. Barlow
c5d3ef4b17
Tighten ruff rules and modernize style
2026-01-27 14:04:52 -08:00
James R. Barlow
bd29269c00
Various test fixes, mainly Windows issues
2026-01-20 22:28:06 -08:00
James R. Barlow
740f67091c
Rename OCROptions to OcrOptions for consistency
...
Technically OCROptions is more Pythonic but we have several pre-existing classes named OcrWhatever. Go with the local flow.
2026-01-12 23:37:54 -08:00
James R. Barlow
aec995aced
Require plugin model registration for namespace access in OCROptions
...
- Update __getattr__ docstring to clarify that plugin models must be
registered for namespace access (e.g., options.tesseract.timeout)
- Update test_json_serialization.py to properly register TesseractOptions
before accessing plugin namespaces
- Worker processes now register plugin models for multiprocessing tests
- Exclude plugin cache keys from extra_attrs comparison in tests
2025-12-22 15:09:55 -08:00
James R. Barlow
b7737446e4
cli: push up imports
2025-12-21 12:21:48 -08:00
James R. Barlow
ade3ecd5a1
fix: add error handling in hOCR pipeline
2025-12-21 12:21:47 -08:00
James R. Barlow
1f493ba789
refactor: post-AI code cleanup
2025-12-21 12:21:47 -08:00
James R. Barlow and aider
60182ac8a8
fix: update JSON serialization tests to match default values
...
Co-authored-by: aider (openrouter/anthropic/claude-sonnet-4) <aider@aider.chat >
2025-12-21 12:21:47 -08:00
James R. Barlow and aider
d77d63f1dc
feat: add JSON serialization tests for OCROptions in multiprocessing
...
Co-authored-by: aider (openrouter/anthropic/claude-sonnet-4) <aider@aider.chat >
2025-12-21 12:21:47 -08:00