scito
e1c8568ba2
fix protoc generation
2023-01-02 19:28:11 +01:00
scito
ef0fbc3586
update README
2023-01-02 19:09:28 +01:00
scito
b86c4f9a61
add ignore duplicate entries option and add quiet test; fixed -k stdout
2023-01-02 17:30:46 +01:00
scito
722009b172
build: add generate result files option
2023-01-02 14:16:30 +01:00
scito
1c106150b0
sort docker imports
2023-01-02 13:53:29 +01:00
scito
77e23b4ae4
refactor cv2 window and logging
...
- increase font and cut if too long
- refactor logging
- extract key handling
- refactor big methods
2023-01-02 13:52:04 +01:00
scito
fe3e371897
build: print restult at the end
2023-01-02 12:50:41 +01:00
scito
7c6d341270
rename github urls; update descriptions
2023-01-01 23:21:29 +01:00
scito
160a558825
some renaming and README updating
2023-01-01 22:47:12 +01:00
scito
8d8b993f12
add CV2 screenshot
2023-01-01 20:15:38 +01:00
scito
e177f860e1
abort instead of assertion
2023-01-01 19:55:28 +01:00
scito
8545dab7a5
extract draw_box and print_text functions
2023-01-01 19:22:46 +01:00
scito
16047a5b15
fix test compatibility with Alpine Linux
2023-01-01 19:19:41 +01:00
scito
604c461549
rename to build.sh
2023-01-01 19:19:21 +01:00
scito
f5acd1dee9
test docker locally after build, easier to reproduce
2023-01-01 17:56:06 +01:00
scito
1086e28056
fix pylint and mypy problems
2023-01-01 17:45:50 +01:00
scito
2c0cfd83ee
docker: pip install -U
2023-01-01 17:38:08 +01:00
scito
a3bda6ff8e
make PYTHON workaround uniform
2023-01-01 17:25:24 +01:00
scito
67c4f737c4
do catch AssertionError in camera capture
2023-01-01 15:21:18 +01:00
scito
fff74fc638
handle errors while reading QR from camera; log errors
2023-01-01 15:12:24 +01:00
scito
19c8e9df23
update docs
2023-01-01 10:03:44 +01:00
scito
13fcdcd022
fix problem of outdated colorama
2023-01-01 01:22:06 +01:00
scito
91b9b3671c
ci: add missing colorama
2023-01-01 01:02:39 +01:00
scito
be6b9c8a7c
ci: mypy only for latest Python on ubuntu
2023-01-01 00:57:18 +01:00
scito
3d61f1d316
ci: use pip install -e . for smoke tests
2023-01-01 00:56:19 +01:00
scito
a8559db6e0
ci: mypy only for latest Python on ubuntu
2023-01-01 00:52:28 +01:00
scito
9f725b227f
ci: use requirements.txt for smoke tests
2023-01-01 00:48:52 +01:00
scito
869c404489
fix fileinput.input encoding only since Python 3.10
2023-01-01 00:41:11 +01:00
scito
003e122808
ignore types for stdout.reconfigure
2023-01-01 00:22:09 +01:00
scito
b3fc854078
colored warn and error messages
...
- add log_warn() and log_error()
- adapt tests
2023-01-01 00:14:56 +01:00
scito
fc1619d9c7
disable verbose unittest for Windows
2022-12-31 21:34:28 +01:00
scito
5be6e9c322
fix finput encoding problem on Windows
2022-12-31 21:27:40 +01:00
scito
739ae4c012
fix pytest.skipif
2022-12-31 21:16:19 +01:00
scito
1af6fe3161
fix camera type and enhance readme with pyzbar problem
2022-12-31 21:02:05 +01:00
scito
e311386a15
skip verbose tests for windows as there are encoding problems
2022-12-31 20:42:40 +01:00
scito
496564a605
avoid AttributeError in tests
...
StringIO in tests do not have all attributes, ignore it
2022-12-31 20:19:21 +01:00
scito
6406fcaef7
set encoding to utf-8 for stdout, needed for Windows
2022-12-31 19:52:09 +01:00
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]
2022-12-31 19:42:53 +01:00
scito
965f721caf
ci_docker: run smoke tests before building
2022-12-31 19:20:01 +01:00
scito
61cca0c476
import Final from __future__ for Python 3.7
2022-12-31 19:11:37 +01:00
scito
ebd4d61f5f
try workaround for Python 3.7: must use () for assignments
2022-12-31 19:06:57 +01:00
scito
e058010be3
fix docker invalid tags from comments
2022-12-31 18:59:01 +01:00
scito
463a9851be
try workaround for Python 3.7: avoid Final in tuple assignments
2022-12-31 18:55:16 +01:00
scito
dcbb128e7c
try workaround for Python 3.7: do not use Types in Final
2022-12-31 18:51:26 +01:00
scito
1b572fc9ab
fix pipenv problem
2022-12-31 18:40:26 +01:00
scito
c3e9883216
try workaround for Python 3.7 NORMAL_COLOR = 255, 0, 255 problem
2022-12-31 18:21:13 +01:00
scito
3f9f7d2b8a
better formatting of help
2022-12-31 18:00:49 +01:00
scito
0212e54f42
ci: runs on windows, exclude linting for Python 3.7
2022-12-31 17:52:19 +01:00
scito
3558eba93b
use detect_and_decode since qrreader is fixed
2022-12-31 17:30:24 +01:00
scito
5225af0621
update README with --qr option
2022-12-31 16:42:12 +01:00