Skip to content

Commit ebd80c3

Browse files
Trevor159MongoDB Bot
authored and
MongoDB Bot
committed
SERVER-80018 add bazel formatting requirement to commit queue (#18477)
GitOrigin-RevId: 93b769fba497837206bcd1045a5cead0ddb36d08
1 parent d8515d5 commit ebd80c3

24 files changed

+658
-538
lines changed

Diff for: BUILD.bazel

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
package(default_visibility = ["//visibility:public"])
22

3-
exports_files(["buildscripts/idl", "pyproject.toml", "poetry.lock"])
3+
exports_files([
4+
"buildscripts/idl",
5+
"pyproject.toml",
6+
"poetry.lock",
7+
])

Diff for: WORKSPACE.bazel

+9-7
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
2-
32
load("//bazel/platforms:local_config_platform.bzl", "setup_local_config_platform")
43
load("//bazel/toolchains:mongo_toolchain.bzl", "toolchain_download")
54

6-
setup_local_config_platform(name="local_config_platform")
5+
setup_local_config_platform(name = "local_config_platform")
6+
7+
toolchain_download(name = "mongo_toolchain")
78

8-
toolchain_download(name="mongo_toolchain")
99
register_toolchains("@mongo_toolchain//:mongo_toolchain")
1010

1111
load("//bazel/toolchains:python_toolchain.bzl", "setup_mongo_python_toolchains")
12+
1213
[register_toolchains(toolchain) for toolchain in setup_mongo_python_toolchains()]
1314

1415
http_archive(
@@ -19,13 +20,14 @@ http_archive(
1920
)
2021

2122
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
23+
2224
http_archive(
2325
name = "platforms",
26+
sha256 = "8150406605389ececb6da07cbcb509d5637a3ab9a24bc69b1101531367d89d74",
2427
urls = [
2528
"https://mirror.bazel.build/github.com/bazelbuild/platforms/releases/download/0.0.8/platforms-0.0.8.tar.gz",
2629
"https://github.com/bazelbuild/platforms/releases/download/0.0.8/platforms-0.0.8.tar.gz",
2730
],
28-
sha256 = "8150406605389ececb6da07cbcb509d5637a3ab9a24bc69b1101531367d89d74",
2931
)
3032

3133
# We need skylib to be able to use config_setting_group in rule_poetry below
@@ -57,7 +59,7 @@ poetry(
5759
name = "poetry",
5860
lockfile = "//:poetry.lock",
5961
pyproject = "//:pyproject.toml",
60-
python_interpreter_target_default="@py_host//:bin/python3",
61-
python_interpreter_target_mac="@py_host//:bin/python3",
62-
python_interpreter_target_win="@py_host//:python.exe",
62+
python_interpreter_target_default = "@py_host//:bin/python3",
63+
python_interpreter_target_mac = "@py_host//:bin/python3",
64+
python_interpreter_target_win = "@py_host//:python.exe",
6365
)

0 commit comments

Comments
 (0)