Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jun 14, 2024
1 parent 5f45741 commit c6e5dc2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion doctor/lib/text_extraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,10 @@ def get_page_text(page: pdfplumber.PDF.pages, strip_margin: bool) -> str:
page.crop(bbox)
.filter(is_skewed)
.extract_text(
layout=True, keep_blank_chars=True, y_tolerance=5, y_density=25
layout=True,
keep_blank_chars=True,
y_tolerance=5,
y_density=25,
)
)
except ValueError:
Expand Down

0 comments on commit c6e5dc2

Please sign in to comment.