Skip to content

Commit fd602e6

Browse files
Update default and custom Bazel modules for this repo
1 parent 480877e commit fd602e6

File tree

3 files changed

+12
-21
lines changed

3 files changed

+12
-21
lines changed

BUILD

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,8 @@
1010
#
1111
# SPDX-License-Identifier: Apache-2.0
1212
# *******************************************************************************
13-
load("@score_cr_checker//:cr_checker.bzl", "copyright_checker")
14-
load("@score_dash_license_checker//:dash.bzl", "dash_license_checker")
13+
load("@score_tooling//:defs.bzl", "copyright_checker", "dash_license_checker", "use_format_targets", "setup_starpls")
1514
load("@score_docs_as_code//:docs.bzl", "docs")
16-
load("@score_format_checker//:macros.bzl", "use_format_targets")
17-
load("@score_starpls_lsp//:starpls.bzl", "setup_starpls")
1815
load("//:project_config.bzl", "PROJECT_CONFIG")
1916

2017
setup_starpls(
@@ -30,8 +27,8 @@ copyright_checker(
3027
"//:BUILD",
3128
"//:MODULE.bazel",
3229
],
33-
config = "@score_cr_checker//resources:config",
34-
template = "@score_cr_checker//resources:templates",
30+
config = "@score_tooling//cr_checker/resources:config",
31+
template = "@score_tooling//cr_checker/resources:templates",
3532
visibility = ["//visibility:public"],
3633
)
3734

MODULE.bazel

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,21 +27,17 @@ python.toolchain(
2727
use_repo(python)
2828

2929
# Add GoogleTest dependency
30-
bazel_dep(name = "googletest", version = "1.14.0")
30+
bazel_dep(name = "googletest", version = "1.17.0")
3131

3232
# Rust rules for Bazel
33-
bazel_dep(name = "rules_rust", version = "0.56.0")
33+
bazel_dep(name = "rules_rust", version = "0.63.0")
3434

35-
# Checker rule for CopyRight checks/fixs
36-
bazel_dep(name = "score_cr_checker", version = "0.3.1")
37-
bazel_dep(name = "score_python_basics", version = "0.3.4")
38-
bazel_dep(name = "score_starpls_lsp", version = "0.1.0")
3935

4036
# C/C++ rules for Bazel
41-
bazel_dep(name = "rules_cc", version = "0.1.1")
37+
bazel_dep(name = "rules_cc", version = "0.2.1")
4238

4339
# LLVM Toolchains Rules - host configuration
44-
bazel_dep(name = "toolchains_llvm", version = "1.2.0")
40+
bazel_dep(name = "toolchains_llvm", version = "1.4.0")
4541

4642
llvm = use_extension("@toolchains_llvm//toolchain/extensions:llvm.bzl", "llvm")
4743
llvm.toolchain(
@@ -53,13 +49,11 @@ use_repo(llvm, "llvm_toolchain_llvm")
5349

5450
register_toolchains("@llvm_toolchain//:all")
5551

56-
# Dash license checker
57-
bazel_dep(name = "score_dash_license_checker", version = "0.1.2")
5852

59-
# Format checker
60-
bazel_dep(name = "score_format_checker", version = "0.1.1")
61-
bazel_dep(name = "aspect_rules_lint", version = "1.4.4")
53+
# tooling
54+
bazel_dep(name = "score_tooling", version = "1.0.1")
55+
bazel_dep(name = "aspect_rules_lint", version = "1.5.3")
6256
bazel_dep(name = "buildifier_prebuilt", version = "8.2.0.2")
6357

6458
#docs-as-code
65-
bazel_dep(name = "score_docs_as_code", version = "1.0.1")
59+
bazel_dep(name = "score_docs_as_code", version = "1.1.0")

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tool.basedpyright]
2-
extends = "bazel-bin/ide_support.runfiles/score_python_basics~/pyproject.toml"
2+
extends = "bazel-bin/ide_support.runfiles/score_tooling+/python_basics/pyproject.toml"
33
verboseOutput = true
44

55
exclude = [

0 commit comments

Comments
 (0)