Skip to content

Commit

Permalink
fix: add easyocr to main deps for valid extra (#19)
Browse files Browse the repository at this point in the history
* fix: add easyocr to main deps for valid extra

Signed-off-by: Michele Dolfi <[email protected]>

* remove group

Signed-off-by: Michele Dolfi <[email protected]>

---------

Signed-off-by: Michele Dolfi <[email protected]>
  • Loading branch information
dolfim-ibm authored Jul 24, 2024
1 parent 3e92f0b commit 54b3dda
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 16 deletions.
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,10 @@ repos:
# pass_filenames: false
# language: system
# files: '\.py$'
- repo: local
hooks:
- id: system
name: Poetry check
entry: poetry check --lock
pass_filenames: false
language: system
26 changes: 13 additions & 13 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ filetype = "^1.2.0"
pypdfium2 = "^4.30.0"
pydantic-settings = "^2.3.0"
huggingface_hub = ">=0.23,<1"

[tool.poetry.group.ocr.dependencies]
easyocr = "^1.7"
easyocr = { version = "^1.7", optional = true }

[tool.poetry.group.dev.dependencies]
black = {extras = ["jupyter"], version = "^24.4.2"}
Expand Down

0 comments on commit 54b3dda

Please sign in to comment.