Skip to content

Commit bacd3de

Browse files
committed
fix: added oytest to makefile
1 parent aeb6b80 commit bacd3de

5 files changed

Lines changed: 7 additions & 5 deletions

File tree

.github/workflows/unit_tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ jobs:
2222
run: make python-install-development
2323

2424
- name: Run pytest
25-
run: pytest
25+
run: make pytest

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,6 @@ flake8:
2727

2828
pylint:
2929
pylint ./src/python/
30+
31+
pytest:
32+
pytest

setup.cfg

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ long_description_content_type = text/markdown
66
classifiers =
77
Intended Audience :: Developers,
88
Natural Language :: English,
9+
Operating System :: POSIX :: Linux
910
Programming Language :: C++,
1011
Programming Language :: Python,
1112
Programming Language :: Python :: 3,
@@ -23,8 +24,6 @@ install_requires =
2324
importlib-metadata; python_version<"3.13"
2425
cython
2526
numpy==2.3.5
26-
matplotlib==3.10.0
27-
pandas==2.3.3
2827

2928
[options.entry_points]
3029
console_scripts =

src/python/app/imcli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from app.command.parser import get_parser
44

55

6-
def main() -> None:
6+
def main() -> int:
77
"""Main entrypoint for imcli program"""
88
args = get_parser().parse_args()
99
return args.func(args)

src/python/app/io/png.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ def from_bytes(cls, data: bytes) -> 'IDATData':
222222
@classmethod
223223
def from_numpy(cls, data: np.ndarray) -> 'IDATData':
224224

225-
new_data = np.concatenate((data, np.full((data.shape[0], data.shape[1], 1), 255, dtype=np.uint8)), axis=2)
225+
new_data = np.concatenate((np.full((data.shape[0], data.shape[1], 1), 255, dtype=np.uint8), data), axis=2)
226226
stream = bytearray()
227227
for i in range(new_data.shape[0]):
228228
stream += b'\0' + new_data[i].tobytes()

0 commit comments

Comments
 (0)