Skip to content

Commit 4dcc894

Browse files
committed
Optimize build
1 parent f287ede commit 4dcc894

11 files changed

Lines changed: 177 additions & 174 deletions

File tree

.github/workflows/release-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
python-version: 3.14
6464

6565
- name: Install poetry
66-
run: python -m pip install poetry
66+
run: python -m pip install poetry poetry-plugin-bundle poetry-plugin-export
6767

6868
- name: Build docs
6969
run: make generate_docs
@@ -108,7 +108,7 @@ jobs:
108108
python-version: 3.14
109109

110110
- name: Install poetry
111-
run: python -m pip install poetry
111+
run: python -m pip install poetry poetry-plugin-bundle poetry-plugin-export
112112

113113
- name: Install dependencies
114114
run: poetry install -E all

.github/workflows/test-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
python-version: 3.14
3232

3333
- name: Install poetry
34-
run: python -m pip install poetry
34+
run: python -m pip install poetry poetry-plugin-bundle poetry-plugin-export
3535

3636
- name: Build docs
3737
run: make generate_docs
@@ -58,7 +58,7 @@ jobs:
5858
python-version: ${{ matrix.python-version }}
5959

6060
- name: Install poetry
61-
run: python -m pip install poetry
61+
run: python -m pip install poetry poetry-plugin-bundle poetry-plugin-export
6262

6363
- name: Install dependencies
6464
run: poetry install --with test -E all

misp_modules/modules/expansion/docx_enrich.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import json
44

55
import docx
6-
import np
6+
import numpy as np
77

88
misperrors = {"error": "Error"}
99
mispattributes = {"input": ["attachment"], "output": ["freetext", "text"]}

misp_modules/modules/expansion/ocr_enrich.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import json
33

44
import cv2
5-
import np
5+
import numpy as np
66
import pytesseract
77

88
misperrors = {"error": "Error"}

misp_modules/modules/expansion/ods_enrich.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import logging
55

66
import ezodf
7-
import np
7+
import numpy as np
88
import pandas_ods_reader
99

1010
misperrors = {"error": "Error"}

misp_modules/modules/expansion/odt_enrich.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import io
33
import json
44

5-
import np
5+
import numpy as np
66
from ODTReader.odtreader import odtToText
77

88
misperrors = {"error": "Error"}

misp_modules/modules/expansion/pdf_enrich.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import io
33
import json
44

5-
import np
5+
import numpy as np
66
import pdftotext
77

88
misperrors = {"error": "Error"}

misp_modules/modules/expansion/pptx_enrich.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import io
33
import json
44

5-
import np
5+
import numpy as np
66
from pptx import Presentation
77

88
misperrors = {"error": "Error"}

misp_modules/modules/expansion/xlsx_enrich.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import io
33
import json
44

5-
import np
5+
import numpy as np
66
import pandas
77

88
misperrors = {"error": "Error"}

poetry.lock

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

0 commit comments

Comments
 (0)