Skip to content

Commit 07b463b

Browse files
committed
[gardening] Fix some python lint errors so this change is python lint clean.
1 parent b16c2b2 commit 07b463b

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

utils/build-script

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1278,11 +1278,13 @@ details of the setups of other systems or automated environments.""")
12781278
help="build libdispatch",
12791279
action=arguments.action.optional_bool,
12801280
dest="build_libdispatch")
1281-
projects_group.add_argument("--playgroundlogger",
1281+
projects_group.add_argument(
1282+
"--playgroundlogger",
12821283
help="build playgroundlogger",
12831284
action="store_true",
12841285
dest="build_playgroundlogger")
1285-
projects_group.add_argument("--playgroundsupport",
1286+
projects_group.add_argument(
1287+
"--playgroundsupport",
12861288
help="build PlaygroundSupport",
12871289
action="store_true",
12881290
dest="build_playgroundsupport")

utils/line-directive

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,13 +97,15 @@ def run():
9797
l = line.rstrip('\n')
9898
m = error_pattern.match(l)
9999
if m:
100-
file, line_num = map_line(m.group('file'), int(m.group('line')))
100+
file, line_num = map_line(m.group('file'),
101+
int(m.group('line')))
101102
line = '%s:%s:%s:%s\n' % (
102103
file, line_num, int(m.group(3)), m.group(4))
103104
else:
104105
m = assertion_pattern.match(l)
105106
if m:
106-
file, line_num = map_line(m.group('file'), int(m.group('line')))
107+
file, line_num = map_line(m.group('file'),
108+
int(m.group('line')))
107109
line = '%s%s%s%s%s\n' % (
108110
m.group('head'), file, m.group('middle'), line_num,
109111
m.group('tail'))

0 commit comments

Comments
 (0)