@@ -51,7 +51,7 @@ def _parse_bazel_version(bazel_version):
5151 """
5252 return [int (_parse_version_chunk (x )) for x in bazel_version .split ("." )]
5353
54- def _is_at_least (threshold , version ):
54+ def is_at_least (threshold , version ):
5555 """Check that a version is higher or equals to a threshold.
5656 Args:
5757 threshold: the minimum version string
@@ -64,7 +64,7 @@ def _is_at_least(threshold, version):
6464 # Needed for check_bazel_version below.
6565 return _parse_bazel_version (version ) >= _parse_bazel_version (threshold )
6666
67- def _is_at_most (threshold , version ):
67+ def is_at_most (threshold , version ):
6868 """Check that a version is lower or equals to a threshold.
6969 Args:
7070 threshold: the maximum version string
@@ -103,7 +103,7 @@ def check_bazel_version(minimum_bazel_version, maximum_bazel_version = None, baz
103103 else :
104104 bazel_version = native .bazel_version
105105
106- if not _is_at_least (
106+ if not is_at_least (
107107 threshold = minimum_bazel_version ,
108108 version = bazel_version ,
109109 ):
@@ -113,7 +113,7 @@ def check_bazel_version(minimum_bazel_version, maximum_bazel_version = None, baz
113113 ))
114114
115115 if maximum_bazel_version :
116- if not _is_at_most (
116+ if not is_at_most (
117117 threshold = maximum_bazel_version ,
118118 version = bazel_version ,
119119 ):
0 commit comments