Skip to content

Commit 80d9eb7

Browse files
committed
format
1 parent 4e05445 commit 80d9eb7

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

python/private/stage2_bootstrap_template.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252

5353
# ===== Template substitutions end =====
5454

55+
5556
class BazelBinaryInfoModule(types.ModuleType):
5657
BUILD_DATA_FILE = BUILD_DATA_FILE
5758

@@ -335,8 +336,11 @@ def _maybe_collect_coverage(enable):
335336
# We need for coveragepy to use relative paths. This can only be configured
336337
# using an rc file.
337338
rcfile_name = os.path.join(coverage_dir, ".coveragerc_{}".format(unique_id))
338-
disable_warnings = ('disable_warnings = module-not-imported, no-data-collected'
339-
if COVERAGE_INSTRUMENTED else '')
339+
disable_warnings = (
340+
"disable_warnings = module-not-imported, no-data-collected"
341+
if COVERAGE_INSTRUMENTED
342+
else ""
343+
)
340344
print_verbose_coverage("coveragerc file:", rcfile_name)
341345
with open(rcfile_name, "w") as rcfile:
342346
rcfile.write(

0 commit comments

Comments
 (0)