mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-02 03:12:34 +01:00
I lint, therefore I am
Implement fixes for the most recent pylint version.
This commit is contained in:
committed by
Marc Bonnici
parent
0e0d4e0ff0
commit
c410d2e1a1
@@ -64,7 +64,7 @@ class ProcessCommand(Command):
|
||||
instead of just processing the root.
|
||||
""")
|
||||
|
||||
def execute(self, config, args):
|
||||
def execute(self, config, args): # pylint: disable=arguments-differ,too-many-branches,too-many-statements
|
||||
process_directory = os.path.expandvars(args.directory)
|
||||
self.logger.debug('Using process directory: {}'.format(process_directory))
|
||||
if not os.path.exists(process_directory):
|
||||
|
@@ -84,7 +84,7 @@ class RunCommand(Command):
|
||||
be specified multiple times.
|
||||
""")
|
||||
|
||||
def execute(self, config, args):
|
||||
def execute(self, config, args): # pylint: disable=arguments-differ
|
||||
output = self.set_up_output_directory(config, args)
|
||||
log.add_file(output.logfile)
|
||||
output.add_artifact('runlog', output.logfile, kind='log',
|
||||
|
Reference in New Issue
Block a user