Skip to content

Commit

Permalink
Isort and black update
Browse files Browse the repository at this point in the history
  • Loading branch information
jakep-allenai committed Jan 29, 2025
1 parent cdb10a9 commit fb40229
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ Changelog = "https://github.com/allenai/olmocr/blob/main/CHANGELOG.md"
dev = [
"ruff",
"mypy>=1.0,<1.5",
"black>=23.0,<24.0",
"isort>=5.12,<5.13",
"black",
"isort",
"pytest",
"pytest-sphinx",
"pytest-cov",
Expand Down
1 change: 1 addition & 0 deletions tests/test_coherency.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ def testBadOcr1(self):
print("Bad1", get_document_coherency(ocr1_text))
print("Bad2", get_document_coherency(ocr2_text))

@unittest.skip("This test is not necessary, it's just a helpful benchmark")
def testHugeBookCoherencySpeed(self):
base_text = get_anchor_text(os.path.join(os.path.dirname(__file__), "gnarly_pdfs", "ti89_guidebook.pdf"), 1, pdf_engine="pdftotext")
print(f"ti89 book length: {len(base_text):,}")
Expand Down

0 comments on commit fb40229

Please sign in to comment.