1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-10-30 06:34:13 +00:00

wa: pep8 fixes

This commit is contained in:
Marc Bonnici
2018-07-04 17:44:55 +01:00
parent 4b86fa5aee
commit 925bc8b719
36 changed files with 88 additions and 86 deletions

View File

@@ -19,11 +19,11 @@ import re
import os
import time
#pylint: disable=wrong-import-position
# pylint: disable=wrong-import-position
from future.standard_library import install_aliases
install_aliases()
#pylint: disable=import-error, wrong-import-order
# pylint: disable=import-error, wrong-import-order
import urllib.request
import urllib.parse
import urllib.error
@@ -113,7 +113,7 @@ class ExoPlayer(ApkWorkload):
"""),
]
#pylint: disable=access-member-before-definition
# pylint: disable=access-member-before-definition
def validate(self):
if self.format and self.filename:
raise ConfigError('Either format *or* filename must be specified; but not both.')
@@ -156,7 +156,7 @@ class ExoPlayer(ApkWorkload):
'"format" to specify a different file.')
return files[0]
def init_resources(self, context): #pylint: disable=unused-argument
def init_resources(self, context): # pylint: disable=unused-argument
# Needs to happen first, as it sets self.format, which is required by
# _find_host_video_file
self.validate()