Skip to content

Commit 11b894d

Browse files
committed
[gardening] Fix some flake8 failures.
1 parent df7f809 commit 11b894d

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

utils/profdata_merge/process.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ def merge_file_buffer(self):
6868
try:
6969
shell.call(llvm_cmd, echo=False)
7070
except SystemExit as e:
71-
self.report("llvm profdata command failed: %s" % e, level=logging.ERROR)
71+
self.report("llvm profdata command failed: %s" % e,
72+
level=logging.ERROR)
7273
if self.config.remove_files:
7374
for f in self.filename_buffer:
7475
if os.path.exists(f):

utils/run-test

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,9 @@ def main():
125125
type=arguments.type.shell_split,
126126
action=arguments.action.concat,
127127
default=[],
128-
help="key=value parameters they are directly passed to "
129-
"lit command in addition to `mode` and `subset`. "
130-
"Accept multiple.")
128+
help="key=value parameters they are directly passed "
129+
"to lit command in addition to `mode` and "
130+
"`subset`. Accept multiple.")
131131
parser.add_argument("--result-dir", type=os.path.realpath, metavar="PATH",
132132
help="directory to store test results (default: none)")
133133
parser.add_argument("--merge-coverage",

utils/update-checkout

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,10 @@ def obtain_additional_swift_sources(
123123
os.path.join(SWIFT_SOURCE_ROOT, repo_name),
124124
'checkout', repo_branch], echo=False)
125125
with shell.pushd(os.path.join(SWIFT_SOURCE_ROOT, repo_name),
126-
dry_run=False, echo=False):
126+
dry_run=False, echo=False):
127127
shell.call(["git", "submodule", "update", "--recursive"],
128-
echo=False)
128+
echo=False)
129+
129130

130131
def validate_config(config):
131132
# Make sure that our branch-names are unique.

0 commit comments

Comments
 (0)