mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-10-31 07:04:17 +00:00 
			
		
		
		
	Pylint fixes
Pylint now checks for trailing new lines, this commit fixes them.
This commit is contained in:
		| @@ -12,5 +12,3 @@ | ||||
| # See the License for the specific language governing permissions and | ||||
| # limitations under the License. | ||||
| # | ||||
|  | ||||
|  | ||||
|   | ||||
| @@ -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 | ||||
|  | ||||
|   | ||||
| @@ -129,4 +129,3 @@ def _read_line_from_queue(queue, timeout=0, logger=None): | ||||
|     if logger and line: | ||||
|         logger.debug(line) | ||||
|     return line | ||||
|  | ||||
|   | ||||
| @@ -304,4 +304,3 @@ def get_rst_from_extension(ext): | ||||
|     if params_rst: | ||||
|         text += underline('parameters', '~') + params_rst | ||||
|     return text + '\n' | ||||
|  | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
| @@ -90,4 +90,3 @@ def _get_terminal_size_linux(): | ||||
| if __name__ == "__main__": | ||||
|     sizex, sizey = get_terminal_size() | ||||
|     print 'width =', sizex, 'height =', sizey | ||||
|  | ||||
|   | ||||
| @@ -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') | ||||
|  | ||||
|   | ||||
| @@ -231,5 +231,3 @@ class UefiMenu(object): | ||||
|         self.options = {} | ||||
|         self.prompt = None | ||||
|         self.empty_buffer() | ||||
|  | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user