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
scito
1f04dd71e2
allow to choose qr reader for images
2022-12-31 15:54:21 +01:00
scito
2dea161cdc
add argument for initial setting of qr_mode
2022-12-31 12:44:16 +01:00
scito
f731530f57
improve handling of wrong urls
...
- adapt tests
- improve messages for files
- show red box camera
2022-12-31 11:32:07 +01:00
scito
4c0bb8dc61
vscode debug: fix path to script: add missing src/
2022-12-31 11:26:11 +01:00
scito
ad9c4a22db
ci_docker: upload to only one repo
2022-12-31 11:25:33 +01:00
scito
2cdf2480a0
make bulding docker optional in script
2022-12-31 11:25:02 +01:00
scito
5aa1a35b8f
add licence label to docker images
2022-12-31 11:23:44 +01:00
scito
3f3903cc81
add version to PYTHON todos
2022-12-30 21:22:03 +01:00
scito
97e4f084cb
mv docker extract_otp_secrets_no_qr_reader -> extract_otp_secrets_only_txt
2022-12-30 20:43:51 +01:00
scito
549c128fb7
renaming extract_otp_secret_keys -> extract_otp_secrets and test file names
2022-12-30 20:37:38 +01:00
scito
10ff533a42
downgrade opencv for macos in requirements.txt and Pipfile
2022-12-30 19:26:45 +01:00
scito
7eb6f036ab
ci: tryout downgrade opencv for macos
2022-12-30 18:51:13 +01:00
scito
652ecf57f0
ci: workaround macOS pytest segfauls -> exclude macOS (2)
2022-12-30 18:33:26 +01:00
scito
9592e6ebfe
ci: workaround macOS pytest segfauls -> exclude macOS
2022-12-30 18:29:23 +01:00
scito
d6c285e59d
ci: segfault: try python -m pytest
2022-12-30 18:23:31 +01:00
scito
5eed47364e
ci: revert try out changes
2022-12-30 18:18:15 +01:00
scito
26e4632f90
ci: another try, install module
2022-12-30 18:14:16 +01:00
scito
c84ca46861
ci: try to avoid random test failures
2022-12-30 18:09:25 +01:00
scito
63f5ab37c4
docu pyproject.toml
2022-12-30 18:02:22 +01:00
scito
f97d7143c5
ci: fix mypy and pytest-cov after clean
2022-12-30 17:49:46 +01:00
scito
0566683203
reenable pytest --import-mode=importlib
2022-12-30 17:31:34 +01:00
scito
ee404576d5
set package_dir=src and clean option
2022-12-30 17:14:49 +01:00
scito
60d7362eee
add protobuf_generated_python to py-modules
2022-12-30 15:47:02 +01:00
scito
1beba7587f
enable setuptools-git-versioning
2022-12-30 15:44:58 +01:00
scito
144c9e6320
fixes after change to src-layout
2022-12-30 15:31:41 +01:00
scito
3e4476e317
change to src-layout
2022-12-30 12:37:05 +01:00
scito
7f5d4b37ee
initial pyproject.toml
2022-12-30 11:14:15 +01:00
scito
82e43172c3
update setup.py
2022-12-30 09:23:31 +01:00
scito
149a548610
upgrade opencv 4.7.0 & run program at the end
2022-12-30 08:14:13 +01:00
scito
d8de89de36
improve README, add docker ci badge
2022-12-30 02:30:16 +01:00
scito
3c164fea28
coverage from yellowgreen to brightgreen
2022-12-30 02:01:10 +01:00
scito
23d8cfa151
ci: Pytest coverage comment only for 3.x and ubuntu-latest
2022-12-30 01:58:54 +01:00
scito
f5ee59368e
python 3.7 compatibility: use TypedDict from typing_extensions
2022-12-30 01:44:11 +01:00
scito
b2a877061c
add typing_extensions for compatibility
2022-12-30 01:37:13 +01:00
scito
c525c06480
quit on window close click
2022-12-30 01:22:12 +01:00
scito
fb43c6793c
type hinting fixes
2022-12-30 01:22:05 +01:00
scito
58fc1b85ac
type compatibility for Python < 3.11
2022-12-30 01:07:39 +01:00