Skip to content

Commit c0767a4

Browse files
committed
format
1 parent 8159fb3 commit c0767a4

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

python/private/py_runtime_pair_rule.bzl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
load("@bazel_skylib//rules:common_settings.bzl", "BuildSettingInfo")
1818
load("//python:py_runtime_info.bzl", "PyRuntimeInfo")
1919
load(":common_labels.bzl", "labels")
20-
load(":flags.bzl", "read_possibly_native_flag")
2120
load(":reexports.bzl", "BuiltinPyRuntimeInfo")
2221

2322
def _py_runtime_pair_impl(ctx):
@@ -37,10 +36,9 @@ def _py_runtime_pair_impl(ctx):
3736
else:
3837
py3_runtime = None
3938

40-
4139
if py2_runtime != None:
4240
fail("Using Python 2 is not supported and disabled; see " +
43-
"https://github.com/bazelbuild/bazel/issues/15684")
41+
"https://github.com/bazelbuild/bazel/issues/15684")
4442

4543
extra_kwargs = {}
4644
if ctx.attr._visible_for_testing[BuildSettingInfo].value:

python/private/py_runtime_rule.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def _py_runtime_impl(ctx):
8989

9090
if python_version == "PY2":
9191
fail("Using Python 2 is not supported and disabled; see " +
92-
"https://github.com/bazelbuild/bazel/issues/15684")
92+
"https://github.com/bazelbuild/bazel/issues/15684")
9393

9494
pyc_tag = ctx.attr.pyc_tag
9595
if not pyc_tag and (ctx.attr.implementation_name and

0 commit comments

Comments
 (0)