Skip to content

Commit bae05fb

Browse files
committed
buildifier
1 parent b7f52dd commit bae05fb

File tree

2 files changed

+15
-11
lines changed

2 files changed

+15
-11
lines changed

python/extensions/private/toolchain_content.bzl

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,22 @@ def get_toolchain_content(
2727
user_repository_name,
2828
workspace_location,
2929
increment):
30-
"""
31-
Creates the content for toolchain definitions for a build file.
32-
Returns the file content and the current increment that is
33-
used to unquiely name each of the toolchain definitions.
30+
"""Creates the content for toolchain definitions for a build file.
31+
32+
Returns the file content and the current increment that is
33+
used to name each of the toolchain definitions.
3434
35-
Arguments:
36-
python_version – Python version for the toolchain
37-
set_python_version_contraint – bool to set the constraint
38-
workspace_location – location of the WORKSPACE and used to find rules_python
39-
increment - current number of previously created toolchains
40-
"""
35+
Args:
36+
python_version: Python version for the toolchain
37+
set_python_version_constraint: bool to set the constraint
38+
user_repository_name: name for the user repo
39+
workspace_location: location of the WORKSPACE and used to find rules_python
40+
increment: current number of previously created toolchains
41+
42+
Returns:
43+
build_content: Text containing toolchain definitions
44+
increment: Current number of toolchains writen. Used if the func is called again.
45+
"""
4146

4247
# we need to get the MINOR_MAPPING or use the full version
4348
if python_version in MINOR_MAPPING:

python/repositories.bzl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,6 @@ def python_register_toolchains(
519519
for platform in PLATFORMS.keys():
520520
sha256 = tool_versions[python_version]["sha256"].get(platform, None)
521521
if not sha256:
522-
print("HERE")
523522
continue
524523

525524
(release_filename, urls, strip_prefix, patches) = get_release_info(platform, python_version, base_url, tool_versions)

0 commit comments

Comments
 (0)