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 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 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={