diff --git a/Pipfile.lock b/Pipfile.lock index f206c41..feef714 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -197,21 +197,21 @@ }, "protobuf": { "hashes": [ - "sha256:0cd67a1e5c2d88930aa767f702773b2d054e29957432d7c6a18f8be02a07719a", - "sha256:0d10091d6d03537c3f902279fcf11e95372bdd36a79556311da0487455791b20", - "sha256:17d128eebbd5d8aee80300aed7a43a48a25170af3337f6f1333d1fac2c6839ac", - "sha256:34a90cf30c908f47f40ebea7811f743d360e202b6f10d40c02529ebd84afc069", - "sha256:445a0c02483869ed8513a585d80020d012c6dc60075f96fa0563a724987b1001", - "sha256:6c3009e22717c6cc9e6594bb11ef9f15f669b19957ad4087214d69e08a213368", - "sha256:85286a47caf63b34fa92fdc1fd98b649a8895db595cfa746c5286eeae890a0b1", - "sha256:88c4af76a73183e21061881360240c0cdd3c39d263b4e8fb570aaf83348d608f", - "sha256:c931c61d0cc143a2e756b1e7f8197a508de5365efd40f83c907a9febf36e6b43", - "sha256:e467f81fdd12ded9655cea3e9b83dc319d93b394ce810b556fb0f421d8613e86", - "sha256:ea7fb379b257911c8c020688d455e8f74efd2f734b72dc1ea4b4d7e9fd1326f2" + "sha256:012ce28d862ff417fd629285aca5d9772807f15ceb1a0dbd15b88f58c776c98c", + "sha256:027fbcc48cea65a6b17028510fdd054147057fa78f4772eb547b9274e5219331", + "sha256:1fc55267f086dd4050d18ef839d7bd69300d0d08c2a53ca7df3920cc271a3c34", + "sha256:22c1f539024241ee545cbcb00ee160ad1877975690b16656ff87dde107b5f110", + "sha256:32600ddb9c2a53dedc25b8581ea0f1fd8ea04956373c0c07577ce58d312522e0", + "sha256:50879eb0eb1246e3a5eabbbe566b44b10348939b7cc1b267567e8c3d07213853", + "sha256:5a41deccfa5e745cef5c65a560c76ec0ed8e70908a67cc8f4da5fce588b50d57", + "sha256:683be02ca21a6ffe80db6dd02c0b5b2892322c59ca57fd6c872d652cb80549cb", + "sha256:8ee1461b3af56145aca2800e6a3e2f928108c749ba8feccc6f5dd0062c410c0d", + "sha256:b5ba1d0e4c8a40ae0496d0e2ecfdbb82e1776928a205106d14ad6985a09ec155", + "sha256:d473655e29c0c4bbf8b69e9a8fb54645bc289dead6d753b952e7aa660254ae18" ], "index": "pypi", "markers": "python_version >= '3.8'", - "version": "==5.29.0" + "version": "==5.29.1" }, "pyzbar": { "hashes": [ diff --git a/README.md b/README.md index 5e941d4..d028b62 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![CI tests](https://github.com/scito/extract_otp_secrets/actions/workflows/ci.yml/badge.svg)](https://github.com/scito/extract_otp_secrets/actions/workflows/ci.yml) [![CI docker](https://github.com/scito/extract_otp_secrets/actions/workflows/ci_docker.yml/badge.svg)](https://github.com/scito/extract_otp_secrets/actions/workflows/ci_docker.yml) -![coverage](https://img.shields.io/badge/coverage-94%25-brightgreen) +![coverage](https://img.shields.io/badge/coverage-95%25-brightgreen) [![License](https://img.shields.io/github/license/scito/extract_otp_secrets)](https://github.com/scito/extract_otp_secrets/blob/master/LICENSE) [![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/scito/extract_otp_secrets?sort=semver)](https://github.com/scito/extract_otp_secrets/releases/latest) ![python versions](https://img.shields.io/badge/python-3.8%20%7C%203.9%20%7C%203.10%20%7C%203.11%20%7C%203.12%20%7C%203.13-blue) @@ -14,7 +14,7 @@ [![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://stand-with-ukraine.pp.ua) +![protobuf version](https://img.shields.io/badge/protobuf-5.29.1-informational)--> @@ -728,7 +728,7 @@ Command for regeneration of Python code from proto3 message definition file (onl protoc --plugin=protoc-gen-mypy=path/to/protoc-gen-mypy --python_out=src/protobuf_generated_python --mypy_out=src/protobuf_generated_python src/google_auth.proto -The generated protobuf Python code was generated by protoc 29.0 (https://github.com/protocolbuffers/protobuf/releases/tag/v29.0). +The generated protobuf Python code was generated by protoc 29.1 (https://github.com/protocolbuffers/protobuf/releases/tag/v29.1). For Python type hint generation the [mypy-protobuf](https://github.com/nipunn1313/mypy-protobuf) package is used. diff --git a/src/protobuf_generated_python/google_auth_pb2.py b/src/protobuf_generated_python/google_auth_pb2.py index 85b4b6f..0be98ff 100644 --- a/src/protobuf_generated_python/google_auth_pb2.py +++ b/src/protobuf_generated_python/google_auth_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: google_auth.proto -# Protobuf Python Version: 5.29.0 +# Protobuf Python Version: 5.29.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.ValidateProtobufRuntimeVersion( _runtime_version.Domain.PUBLIC, 5, 29, - 0, + 1, '', 'google_auth.proto' ) diff --git a/tests/extract_otp_secrets_test.py b/tests/extract_otp_secrets_test.py index f0ace31..224c070 100644 --- a/tests/extract_otp_secrets_test.py +++ b/tests/extract_otp_secrets_test.py @@ -988,7 +988,7 @@ def test_img_qr_reader_from_wildcard(capsys: pytest.CaptureFixture[str]) -> None assert normalize_testfile_path(captured.err) == EXPECTED_STDERR_NO_OTP_URL -def normalize_testfile_path(text: str): +def normalize_testfile_path(text: str) -> str: return text.replace('tests/data\\', 'tests/data/') if sys.platform.startswith("win") else text