From 05b83859946c8ee5cb62987c957182f296794c5e Mon Sep 17 00:00:00 2001 From: Michael Mintz Date: Thu, 3 Apr 2025 23:27:12 -0400 Subject: [PATCH] Update flake8 --- seleniumbase/core/s3_manager.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/seleniumbase/core/s3_manager.py b/seleniumbase/core/s3_manager.py index 3a581aad..4b201935 100644 --- a/seleniumbase/core/s3_manager.py +++ b/seleniumbase/core/s3_manager.py @@ -92,5 +92,5 @@ class S3LoggingBucket(object): """Keep a record of all file names that have been uploaded. Upload log files related to each test after its execution. Once done, use already_uploaded_files to create an index file.""" - global already_uploaded_files + global already_uploaded_files # noqa already_uploaded_files.extend(files) diff --git a/setup.py b/setup.py index df12248b..78283257 100755 --- a/setup.py +++ b/setup.py @@ -34,7 +34,7 @@ if sys.argv[-1] == "publish": print("\nERROR! Publishing to PyPI requires Python>=3.9") sys.exit() print("\n*** Checking code health with flake8:\n") - os.system("python -m pip install 'flake8==7.1.2'") + os.system("python -m pip install 'flake8==7.2.0'") flake8_status = os.system("flake8 --exclude=recordings,temp") if flake8_status != 0: print("\nERROR! Fix flake8 issues before publishing to PyPI!\n")