[Bug] fix straighten pages by felixdittrich92 · Pull Request #1697 · mindee/doctr (original) (raw)
This PR:
- fix rotate condition for straighten pages
- fix new shapes after straightening pages
- ruff recommendations
Any feedback is welcome 🤗
Codecov Report
All modified and coverable lines are covered by tests ✅
Project coverage is 96.43%. Comparing base (d7f4533) to head (1a8b82a).
Report is 2 commits behind head on main.
Additional details and impacted files
@@ Coverage Diff @@ ## main #1697 +/- ##
Coverage 96.38% 96.43% +0.05%
Files 164 164
Lines 7772 7776 +4- Hits 7491 7499 +8
- Misses 281 277 -4
| Flag | Coverage Δ | |
|---|---|---|
| unittests | 96.43% <100.00%> (+0.05%) | ⬆️ |
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you !
@odulcy-mindee Could you check your Slack please if you have the time 😅 : 👍
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
[ Show hidden characters]({{ revealButtonHref }})