Lines Matching full:threshold
57 def _is_at_most(threshold, version):
58 """Check that a version is lower or equals to a threshold.
61 threshold: the maximum version string
62 version: the version string to be compared to the threshold
65 True if version <= threshold.
67 return _parse_bazel_version(version) <= _parse_bazel_version(threshold)
69 def _is_at_least(threshold, version):
70 """Check that a version is higher or equals to a threshold.
73 threshold: the minimum version string
74 version: the version string to be compared to the threshold
77 True if version >= threshold.
80 return _parse_bazel_version(version) >= _parse_bazel_version(threshold)
102 threshold = minimum_bazel_version,
112 threshold = maximum_bazel_version,