fix flake8 reports
Change-Id: Iab40f2a1ab00e584cb89d4b1cdf460d7f90aa6ae
This commit is contained in:
parent
3c5f2fc05b
commit
d8610b5953
@ -31,6 +31,7 @@ def printHelpArrays(input):
|
||||
|
||||
return output[0:-2]
|
||||
|
||||
|
||||
wrapper = textwrap.TextWrapper(width=79, subsequent_indent=' ')
|
||||
|
||||
inFileName = "NONE"
|
||||
|
1
tox.ini
1
tox.ini
@ -23,6 +23,7 @@ commands=
|
||||
[testenv:pep8]
|
||||
basepython = python2.7
|
||||
deps =
|
||||
flake8
|
||||
{[testenv]deps}
|
||||
commands=
|
||||
bash tools/flake8wrap.sh
|
||||
|
3
working_materials/find_additional_properties.py
Normal file → Executable file
3
working_materials/find_additional_properties.py
Normal file → Executable file
@ -45,7 +45,7 @@ def show_outcome(stream, test):
|
||||
global RESULTS
|
||||
status = test['status']
|
||||
if status == 'exists':
|
||||
returnmime
|
||||
return
|
||||
if status == 'fail':
|
||||
for raw_name in test['details']:
|
||||
name = raw_name.split(':')[0]
|
||||
@ -73,6 +73,7 @@ def show_outcome(stream, test):
|
||||
elif status == 'skip':
|
||||
SKIPS.append(test)
|
||||
|
||||
|
||||
stream = subunit.ByteStreamToStreamResult(
|
||||
sys.stdin, non_subunit_name='stdout')
|
||||
outcome = testtools.StreamToDict(
|
||||
|
@ -26,6 +26,7 @@ class CustomFormatter(argparse.ArgumentDefaultsHelpFormatter,
|
||||
argparse.RawDescriptionHelpFormatter):
|
||||
pass
|
||||
|
||||
|
||||
# Set up command line arguments.
|
||||
parser = argparse.ArgumentParser(
|
||||
description=textwrap.dedent("""\
|
||||
|
Loading…
Reference in New Issue
Block a user