diff --git a/wa/commands/create.py b/wa/commands/create.py index 6a598a19..d47f3f9c 100644 --- a/wa/commands/create.py +++ b/wa/commands/create.py @@ -194,6 +194,7 @@ def create_workload(name, kind='basic', where='local', check_name=True, **kwargs except KeyError: raise CommandError('Unknown workload type: {}'.format(kind)) + # pylint: disable=superfluous-parens print('Workload created in {}'.format(workload_dir)) diff --git a/wa/commands/list.py b/wa/commands/list.py index ab31fc8d..79c6cb53 100644 --- a/wa/commands/list.py +++ b/wa/commands/list.py @@ -13,6 +13,7 @@ # limitations under the License. # + from wa import Command from wa.framework import pluginloader from wa.framework.target.descriptor import list_target_descriptions @@ -45,7 +46,7 @@ class ListCommand(Command): Only list results that are supported by the specified platform. ''') - + # pylint: disable=superfluous-parens def execute(self, state, args): filters = {} if args.name: @@ -80,6 +81,7 @@ def get_kinds(): return ['{}s'.format(name) for name in kinds] +# pylint: disable=superfluous-parens def list_targets(): targets = list_target_descriptions() targets = sorted(targets, key=lambda x: x.name) diff --git a/wa/commands/revent.py b/wa/commands/revent.py index 6ae2a74b..bd7c9498 100644 --- a/wa/commands/revent.py +++ b/wa/commands/revent.py @@ -26,7 +26,7 @@ from wa.utils.revent import ReventRecorder if sys.version_info[0] == 3: - raw_input = input + raw_input = input #pylint: disable=redefined-builtin class RecordCommand(Command): diff --git a/wa/commands/show.py b/wa/commands/show.py index 1e8ce87f..8a24ca09 100644 --- a/wa/commands/show.py +++ b/wa/commands/show.py @@ -83,7 +83,7 @@ class ShowCommand(Command): call('echo "{}" | man -l -'.format(escape_double_quotes(output)), shell=True) else: - print(rst_output) + print(rst_output) # pylint: disable=superfluous-parens def get_target_description(name):