1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-09-02 03:12:34 +01:00

Pylint fixes

Pylint now checks for trailing new lines, this commit fixes them.
This commit is contained in:
Sebastian Goscik
2016-07-21 16:40:26 +01:00
parent 873bdf0bc7
commit 9707aa6237
77 changed files with 2 additions and 100 deletions

View File

@@ -12,5 +12,3 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#

View File

@@ -24,4 +24,3 @@ def init_argument_parser(parser):
help='Enable debug mode. Note: this implies --verbose.')
parser.add_argument('--version', action='version', version='%(prog)s {}'.format(get_wa_version()))
return parser

View File

@@ -129,4 +129,3 @@ def _read_line_from_queue(queue, timeout=0, logger=None):
if logger and line:
logger.debug(line)
return line

View File

@@ -304,4 +304,3 @@ def get_rst_from_extension(ext):
if params_rst:
text += underline('parameters', '~') + params_rst
return text + '\n'

View File

@@ -20,7 +20,7 @@ from distutils.version import StrictVersion as V
import serial
# pylint: disable=ungrouped-imports
# pylint: disable=ungrouped-imports, wrong-import-position
import pexpect
if V(pexpect.__version__) < V('4.0.0'):
import fdpexpect # pylint: disable=import-error

View File

@@ -90,4 +90,3 @@ def _get_terminal_size_linux():
if __name__ == "__main__":
sizex, sizey = get_terminal_size()
print 'width =', sizex, 'height =', sizey

View File

@@ -286,4 +286,3 @@ class TraceCmdTrace(object):
else:
if self.filter_markers and inside_marked_region:
logger.warning('Did not encounter a stop marker in trace')

View File

@@ -231,5 +231,3 @@ class UefiMenu(object):
self.options = {}
self.prompt = None
self.empty_buffer()