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.
|
"""Keep a record of all file names that have been uploaded.
|
||||||
Upload log files related to each test after its execution.
|
Upload log files related to each test after its execution.
|
||||||
Once done, use already_uploaded_files to create an index file."""
|
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)
|
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")
|
print("\nERROR! Publishing to PyPI requires Python>=3.9")
|
||||||
sys.exit()
|
sys.exit()
|
||||||
print("\n*** Checking code health with flake8:\n")
|
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")
|
flake8_status = os.system("flake8 --exclude=recordings,temp")
|
||||||
if flake8_status != 0:
|
if flake8_status != 0:
|
||||||
print("\nERROR! Fix flake8 issues before publishing to PyPI!\n")
|
print("\nERROR! Fix flake8 issues before publishing to PyPI!\n")
|
||||||
|
|
Loading…
Reference in New Issue