fix: remove padding from GLMOCREndToEndService and clean up ruff violations #2

Merged
YogeLiu merged 1 commits from fix/tag into main 2026-03-10 19:56:44 +08:00
Owner
  • Drop image padding in GLMOCREndToEndService.recognize(); use raw image directly
  • Fix F821 undefined padded references replaced with image
  • Fix F601 duplicate dict key "≠" in converter
  • Fix F841 unused image_cls_ids variable in layout_postprocess
  • Fix E702 semicolon-separated statements in layout_postprocess
  • Fix UP031 percent-format replaced with f-string in logging_config
  • Auto-fix 44 additional ruff violations (import order, UP035/UP045/UP006, F401, F541)

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com

- Drop image padding in GLMOCREndToEndService.recognize(); use raw image directly - Fix F821 undefined `padded` references replaced with `image` - Fix F601 duplicate dict key "&#x2260;" in converter - Fix F841 unused `image_cls_ids` variable in layout_postprocess - Fix E702 semicolon-separated statements in layout_postprocess - Fix UP031 percent-format replaced with f-string in logging_config - Auto-fix 44 additional ruff violations (import order, UP035/UP045/UP006, F401, F541) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
YogeLiu added 1 commit 2026-03-10 19:56:25 +08:00
- Drop image padding in GLMOCREndToEndService.recognize(); use raw image directly
- Fix F821 undefined `padded` references replaced with `image`
- Fix F601 duplicate dict key "&#x2260;" in converter
- Fix F841 unused `image_cls_ids` variable in layout_postprocess
- Fix E702 semicolon-separated statements in layout_postprocess
- Fix UP031 percent-format replaced with f-string in logging_config
- Auto-fix 44 additional ruff violations (import order, UP035/UP045/UP006, F401, F541)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
YogeLiu merged commit d98fa7237c into main 2026-03-10 19:56:44 +08:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: YogeLiu/doc_processer#2