Update flake8

This commit is contained in:
Michael Mintz 2025-04-03 23:27:12 -04:00
parent e5558c4c8a
commit 05b8385994
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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")