scito
f4ab540283
rename protobuf module as pb
1 year ago
scito
201e6510f8
add type hints (Python 3.11)
1 year ago
scito
f933cd0d32
initial mypy type checking
1 year ago
scito
f4389ca8a3
fix linting
1 year ago
scito
b89a338246
enable mypy type checking
1 year ago
scito
631bacc409
use tmp_path fixture instead of clean_up() in pytests
1 year ago
scito
833afa7c13
use 3.11-slim-bullseye, add missing package
1 year ago
scito
4209a5db3d
move abort to end, use SystemExit instead; improve colors
1 year ago
scito
d9a4c7ca9f
fix docker image digest
1 year ago
scito
829fe65b1e
ci: pip install pytest-mock
1 year ago
scito
c90526dcf2
fix undefined name 'abort' and 'qreader'
1 year ago
scito
47e84e4462
run docker capture version
1 year ago
scito
b4931856ba
apk add --no-cache nano zlib jpeg && re-enable tests
1 year ago
scito
f532dc668d
indent_size = 2 for yml
1 year ago
scito
1dee86668a
rename ARG run_tests to RUN_TESTS
1 year ago
scito
aa0de699fe
disable tests for alpine
1 year ago
scito
7e684ff19e
--build-arg run_tests=false
1 year ago
scito
b159b9e70d
apk add musl-dev and apk del .build-deps
1 year ago
scito
951878d027
apk add gcc
1 year ago
scito
2a44bbfa27
use $(apk --print-arch)
1 year ago
scito
540ae7438d
use $(uname -m)
1 year ago
scito
c346c085b6
apk add python3-dev py3-setuptools
1 year ago
scito
7cb3b2ac21
always apk add on alpine
1 year ago
scito
0eb5014eb0
ci_docker: add docker/setup-buildx-action@v2
1 year ago
scito
d4f5eb243e
change to "$TARGETARCH" == "arm64"
1 year ago
scito
b05decc10f
apk add zlib-dev jpeg-dev only for alpine linux/arm64
1 year ago
scito
21ebccbba5
apk add zlib-dev
1 year ago
scito
912825034f
add zlib for alpine/arm64 docker image
1 year ago
scito
95e7d73173
mock no_args tests
1 year ago
scito
9f0872c2d0
extract from camera
...
- add help description
- use f-strings
- handle plural correctly
- rename methods, use otp_url instead of line
- remove importlib.util
- move cv2 imports to top
- remove unnecessary global delcarations
- group image tests
1 year ago
scito
7964c687f6
make running tests optional in docker build
1 year ago
scito
1d0b568b1e
setup QEMU
1 year ago
scito
aaa7bd3da1
build also on arm64
1 year ago
scito
5ab5f84ff3
add docker label for source
1 year ago
scito
a4c4badd54
fix docker hub username
1 year ago
scito
f272c35a1f
enable docker push in ci_docker
1 year ago
scito
e4e5271c0f
github actions docker build no_qr_reader
1 year ago
scito
158564e79a
fix to_bytes() mandatory byte_order
1 year ago
scito
672d18a5ca
build docker images, run tests in docker build
...
- qreader_available flag
- echo commands in upgrade_deps.sh
1 year ago
scito
0490e227e1
docker image with qreader, 2nd image without qreader
...
- organize imports
- add qreader pytest.mark
- relaxed mode for pytest
- run tests in docker
- more tests
1 year ago
scito
2bcaa35251
organize imports
1 year ago
scito
b0b4c29e7b
improve README
1 year ago
scito
e754befb52
refactor; update setup.py
...
more verbose logging
better error messages
1 year ago
scito
06b8efff62
add zypper and dnf for libzbar0
1 year ago
scito
5d0feacdba
update README
1 year ago
scito
343520acb8
support multiple infiles
1 year ago
scito
c2d7c905ff
handle wrong stdin streams
1 year ago
scito
bc329e24d5
renable libzbar
1 year ago
scito
4612ab6e7f
catch zbar import error
1 year ago
scito
05db190de3
test qreader import
1 year ago