Skip to content

Commit 58d0cbc

Browse files
authored
Update validate_parse.py
Attempt to appease the python linter
1 parent 3ed6c99 commit 58d0cbc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

utils/incrparse/validate_parse.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,10 @@ def main():
109109
sys.exit(1)
110110

111111
# Check if the two syntax trees are the same
112-
lines = difflib.unified_diff(io.open(incremental_serialized_file, 'r', encoding='utf-8', errors='ignore').readlines(),
113-
io.open(post_edit_serialized_file, 'r', encoding='utf-8', errors='ignore').readlines(),
112+
lines = difflib.unified_diff(io.open(incremental_serialized_file, 'r',
113+
encoding='utf-8', errors='ignore').readlines(),
114+
io.open(post_edit_serialized_file, 'r',
115+
encoding='utf-8', errors='ignore').readlines(),
114116
fromfile=incremental_serialized_file,
115117
tofile=post_edit_serialized_file)
116118
diff = '\n'.join(line for line in lines)

0 commit comments

Comments
 (0)