From ba455563712f2c09fb85ad8b6aff472cc1ab6671 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 2 Apr 2024 03:12:33 +0000 Subject: [PATCH 1/3] Bump pillow from 10.2.0 to 10.3.0 Bumps [pillow](https://github.com/python-pillow/Pillow) from 10.2.0 to 10.3.0. - [Release notes](https://github.com/python-pillow/Pillow/releases) - [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst) - [Commits](https://github.com/python-pillow/Pillow/compare/10.2.0...10.3.0) --- updated-dependencies: - dependency-name: pillow dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 0930693..367e5b9 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ 'pyotp==2.9.0', 'qrcode==7.4.2', 'pyzbar==0.1.9', - 'pillow==10.2.0', + 'pillow==10.3.0', ], cmdclass=versioneer.get_cmdclass(), entry_points={ From f119541b087626ae6b6d7fe22a8ce14ccbc10b6e Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Mon, 1 Apr 2024 22:17:27 -0500 Subject: [PATCH 2/3] Update environment.yml --- .ci_support/environment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci_support/environment.yml b/.ci_support/environment.yml index 6e4b4ad..feb53e5 100644 --- a/.ci_support/environment.yml +++ b/.ci_support/environment.yml @@ -7,4 +7,4 @@ dependencies: - pyotp=2.9.0 - pyzbar=0.1.9 - zbar=0.10 -- pillow=10.2.0 +- pillow=10.3.0 From d4fd3d9c87602d59742c34611de8ad353a40f402 Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Thu, 4 Apr 2024 15:54:41 -0500 Subject: [PATCH 3/3] black formatting --- pyauthenticator/__init__.py | 1 + pyauthenticator/__main__.py | 1 + pyauthenticator/share.py | 1 + 3 files changed, 3 insertions(+) diff --git a/pyauthenticator/__init__.py b/pyauthenticator/__init__.py index 4fb2fc4..f1e936e 100644 --- a/pyauthenticator/__init__.py +++ b/pyauthenticator/__init__.py @@ -1,6 +1,7 @@ """ Generate two factor authentication codes on the command line """ + from pyauthenticator.share import generate_qrcode from pyauthenticator.share import get_two_factor_code as get_two_factor_code_internal from pyauthenticator.share import load_config diff --git a/pyauthenticator/__main__.py b/pyauthenticator/__main__.py index a7bcca8..4c81f7f 100644 --- a/pyauthenticator/__main__.py +++ b/pyauthenticator/__main__.py @@ -1,6 +1,7 @@ """ Generate two factor authentication codes on the command line """ + import argparse import sys diff --git a/pyauthenticator/share.py b/pyauthenticator/share.py index be83350..3fe2194 100644 --- a/pyauthenticator/share.py +++ b/pyauthenticator/share.py @@ -1,6 +1,7 @@ """ Shared functionality to generate two factor authentication codes """ + import json import os from inspect import signature