fix flake8 reports

Change-Id: Iab40f2a1ab00e584cb89d4b1cdf460d7f90aa6ae
This commit is contained in:
Frederic Lepied 2017-03-03 10:05:19 +01:00
parent 3c5f2fc05b
commit d8610b5953
4 changed files with 5 additions and 1 deletions

View File

@ -31,6 +31,7 @@ def printHelpArrays(input):
return output[0:-2]
wrapper = textwrap.TextWrapper(width=79, subsequent_indent=' ')
inFileName = "NONE"

View File

@ -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
View 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(

View File

@ -26,6 +26,7 @@ class CustomFormatter(argparse.ArgumentDefaultsHelpFormatter,
argparse.RawDescriptionHelpFormatter):
pass
# Set up command line arguments.
parser = argparse.ArgumentParser(
description=textwrap.dedent("""\