Skip to content

Commit

Permalink
fix buildifier lint
Browse files Browse the repository at this point in the history
  • Loading branch information
hunshcn committed May 16, 2024
1 parent b57de8a commit 86faa07
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions gazelle/deps.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def go_repository(name, **kwargs):
_go_repository(name = name, **kwargs)

def python_stdlib_list_deps():
"Fetch python stdlib list dependencies"
http_file(
name = "python_stdlib_list_3_8",
sha256 = "ee6dc367011ff298b906dbaab408940aa57086d5f8f47278f4b7523b9aa13ae3",
Expand Down
4 changes: 2 additions & 2 deletions gazelle/python/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ copy_file(
name = "stdlib_list",
src = select(
{
"@rules_python//python/config_settings:is_python_3.8": "@python_stdlib_list_3_8//file",
"@rules_python//python/config_settings:is_python_3.9": "@python_stdlib_list_3_9//file",
"@rules_python//python/config_settings:is_python_3.10": "@python_stdlib_list_3_10//file",
"@rules_python//python/config_settings:is_python_3.11": "@python_stdlib_list_3_11//file",
"@rules_python//python/config_settings:is_python_3.12": "@python_stdlib_list_3_12//file",
"@rules_python//python/config_settings:is_python_3.8": "@python_stdlib_list_3_8//file",
"@rules_python//python/config_settings:is_python_3.9": "@python_stdlib_list_3_9//file",
# This is the same behaviour as previously
"//conditions:default": "@python_stdlib_list_3_11//file",
},
Expand Down

0 comments on commit 86faa07

Please sign in to comment.