Python flake8 crap

Was testing realgud's C-x!8 (goto flake8 warning/error)
This commit is contained in:
rocky
2016-12-18 20:18:19 -05:00
parent c7c0a98982
commit e6761e13bb
8 changed files with 11 additions and 13 deletions

View File

@@ -159,7 +159,7 @@ class Scanner3(Scanner):
customize = {}
if self.is_pypy:
customize['PyPy'] = 1;
customize['PyPy'] = 1
self.code = array('B', co.co_code)
self.build_lines_data(co)
@@ -699,9 +699,9 @@ class Scanner3(Scanner):
# everything inside inner 'or' jumps and midline ifs
match = self.rem_or(start, self.next_stmt[offset],
self.opc.POP_JUMP_IF_FALSE, target)
## We can't remove mid-line ifs because line structures have changed
## from restructBytecode().
## match = self.remove_mid_line_ifs(match)
# We can't remove mid-line ifs because line structures have changed
# from restructBytecode().
# match = self.remove_mid_line_ifs(match)
# If we still have any offsets in set, start working on it
if match: