Skip to content

Commit 3bde60c

Browse files
Update Bazel modules (#34)
1 parent 480877e commit 3bde60c

File tree

4 files changed

+14
-23
lines changed

4 files changed

+14
-23
lines changed

BUILD

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,9 @@
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+
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")
15+
load("@score_tooling//:defs.bzl", "copyright_checker", "dash_license_checker", "setup_starpls", "use_format_targets")
1816
load("//:project_config.bzl", "PROJECT_CONFIG")
1917

2018
setup_starpls(
@@ -30,8 +28,8 @@ copyright_checker(
3028
"//:BUILD",
3129
"//:MODULE.bazel",
3230
],
33-
config = "@score_cr_checker//resources:config",
34-
template = "@score_cr_checker//resources:templates",
31+
config = "@score_tooling//cr_checker/resources:config",
32+
template = "@score_tooling//cr_checker/resources:templates",
3533
visibility = ["//visibility:public"],
3634
)
3735

MODULE.bazel

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -27,21 +27,16 @@ 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")
34-
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")
33+
bazel_dep(name = "rules_rust", version = "0.63.0")
3934

4035
# C/C++ rules for Bazel
41-
bazel_dep(name = "rules_cc", version = "0.1.1")
36+
bazel_dep(name = "rules_cc", version = "0.2.1")
4237

4338
# LLVM Toolchains Rules - host configuration
44-
bazel_dep(name = "toolchains_llvm", version = "1.2.0")
39+
bazel_dep(name = "toolchains_llvm", version = "1.4.0")
4540

4641
llvm = use_extension("@toolchains_llvm//toolchain/extensions:llvm.bzl", "llvm")
4742
llvm.toolchain(
@@ -53,13 +48,10 @@ use_repo(llvm, "llvm_toolchain_llvm")
5348

5449
register_toolchains("@llvm_toolchain//:all")
5550

56-
# Dash license checker
57-
bazel_dep(name = "score_dash_license_checker", version = "0.1.2")
58-
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")
51+
# tooling
52+
bazel_dep(name = "score_tooling", version = "1.0.1")
53+
bazel_dep(name = "aspect_rules_lint", version = "1.5.3")
6254
bazel_dep(name = "buildifier_prebuilt", version = "8.2.0.2")
6355

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

docs/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ Requirements
3434
:id: stkh_req__docgen_enabled__example
3535
:status: valid
3636
:safety: QM
37+
:security: YES
3738
:reqtype: Functional
3839
:rationale: Ensure documentation builds are possible for all modules
3940

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)