Skip to content

Commit f4d5bd4

Browse files
committed
fix: add easyocr to main deps for valid extra
Signed-off-by: Michele Dolfi <[email protected]>
1 parent 3e92f0b commit f4d5bd4

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,10 @@ repos:
3232
# pass_filenames: false
3333
# language: system
3434
# files: '\.py$'
35+
- repo: local
36+
hooks:
37+
- id: system
38+
name: Poetry check
39+
entry: poetry check --lock
40+
pass_filenames: false
41+
language: system

poetry.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ filetype = "^1.2.0"
3030
pypdfium2 = "^4.30.0"
3131
pydantic-settings = "^2.3.0"
3232
huggingface_hub = ">=0.23,<1"
33+
easyocr = { version = "^1.7", optional = true }
3334

3435
[tool.poetry.group.ocr.dependencies]
3536
easyocr = "^1.7"

0 commit comments

Comments
 (0)