Update flake8
This commit is contained in:
parent
e5558c4c8a
commit
05b8385994
|
@ -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)
|
||||
|
|
2
setup.py
2
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")
|
||||
|
|
Loading…
Reference in New Issue