scito
66c68fd9ef
fix Python 3.7 compatibility
1 year ago
scito
6cfbc10e69
build wheel
1 year ago
scito
064fe81b2e
docker remove python3-opencv, but add required libs; add debug mode
1 year ago
scito
cd5160f123
fix Alpine tests
1 year ago
scito
e1c8568ba2
fix protoc generation
1 year ago
scito
ef0fbc3586
update README
1 year ago
scito
b86c4f9a61
add ignore duplicate entries option and add quiet test; fixed -k stdout
1 year ago
scito
722009b172
build: add generate result files option
1 year ago
scito
1c106150b0
sort docker imports
1 year ago
scito
77e23b4ae4
refactor cv2 window and logging
...
- increase font and cut if too long
- refactor logging
- extract key handling
- refactor big methods
1 year ago
scito
fe3e371897
build: print restult at the end
1 year ago
scito
7c6d341270
rename github urls; update descriptions
1 year ago
scito
160a558825
some renaming and README updating
1 year ago
scito
8d8b993f12
add CV2 screenshot
1 year ago
scito
e177f860e1
abort instead of assertion
1 year ago
scito
8545dab7a5
extract draw_box and print_text functions
1 year ago
scito
16047a5b15
fix test compatibility with Alpine Linux
1 year ago
scito
604c461549
rename to build.sh
1 year ago
scito
f5acd1dee9
test docker locally after build, easier to reproduce
1 year ago
scito
1086e28056
fix pylint and mypy problems
1 year ago
scito
2c0cfd83ee
docker: pip install -U
1 year ago
scito
a3bda6ff8e
make PYTHON workaround uniform
1 year ago
scito
67c4f737c4
do catch AssertionError in camera capture
1 year ago
scito
fff74fc638
handle errors while reading QR from camera; log errors
1 year ago
scito
19c8e9df23
update docs
1 year ago
scito
13fcdcd022
fix problem of outdated colorama
1 year ago
scito
91b9b3671c
ci: add missing colorama
1 year ago
scito
be6b9c8a7c
ci: mypy only for latest Python on ubuntu
1 year ago
scito
3d61f1d316
ci: use pip install -e . for smoke tests
1 year ago
scito
a8559db6e0
ci: mypy only for latest Python on ubuntu
1 year ago
scito
9f725b227f
ci: use requirements.txt for smoke tests
1 year ago
scito
869c404489
fix fileinput.input encoding only since Python 3.10
1 year ago
scito
003e122808
ignore types for stdout.reconfigure
1 year ago
scito
b3fc854078
colored warn and error messages
...
- add log_warn() and log_error()
- adapt tests
1 year ago
scito
fc1619d9c7
disable verbose unittest for Windows
1 year ago
scito
5be6e9c322
fix finput encoding problem on Windows
1 year ago
scito
739ae4c012
fix pytest.skipif
1 year ago
scito
1af6fe3161
fix camera type and enhance readme with pyzbar problem
1 year ago
scito
e311386a15
skip verbose tests for windows as there are encoding problems
1 year ago
scito
496564a605
avoid AttributeError in tests
...
StringIO in tests do not have all attributes, ignore it
1 year ago
scito
6406fcaef7
set encoding to utf-8 for stdout, needed for Windows
1 year ago
scito
7bb92f00b2
avoid mypy problems for duplicate Final
...
src/extract_otp_secrets.py:63: error: Incompatible import of "Final"
(imported name has type "typing_extensions._SpecialForm", local name has type "typing._SpecialForm")
[assignment]
1 year ago
scito
965f721caf
ci_docker: run smoke tests before building
1 year ago
scito
61cca0c476
import Final from __future__ for Python 3.7
1 year ago
scito
ebd4d61f5f
try workaround for Python 3.7: must use () for assignments
1 year ago
scito
e058010be3
fix docker invalid tags from comments
1 year ago
scito
463a9851be
try workaround for Python 3.7: avoid Final in tuple assignments
1 year ago
scito
dcbb128e7c
try workaround for Python 3.7: do not use Types in Final
1 year ago
scito
1b572fc9ab
fix pipenv problem
1 year ago
scito
c3e9883216
try workaround for Python 3.7 NORMAL_COLOR = 255, 0, 255 problem
1 year ago