Skip to content

Commit df1dd67

Browse files
Update default and custom Bazel modules
1 parent 33cba38 commit df1dd67

File tree

3 files changed

+8
-27
lines changed

3 files changed

+8
-27
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ styles/
2121

2222
# Python
2323
.venv
24+
.venv_docs
2425
venv/
2526
__pycache__/
2627
/.coverage

BUILD

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,9 @@
1010
#
1111
# SPDX-License-Identifier: Apache-2.0
1212
# *******************************************************************************
13-
load("@score_cr_checker//:cr_checker.bzl", "copyright_checker")
13+
load("@score_tooling//:defs.bzl", "copyright_checker", "use_format_targets")
1414
load("@score_docs_as_code//:docs.bzl", "docs")
1515

16-
# *******************************************************************************
17-
# Copyright (c) 2025 Contributors to the Eclipse Foundation
18-
#
19-
# See the NOTICE file(s) distributed with this work for additional
20-
# information regarding copyright ownership.
21-
#
22-
# This program and the accompanying materials are made available under the
23-
# terms of the Apache License Version 2.0 which is available at
24-
# https://www.apache.org/licenses/LICENSE-2.0
25-
#
26-
# SPDX-License-Identifier: Apache-2.0
27-
# *******************************************************************************
28-
load("@score_format_checker//:macros.bzl", "use_format_targets")
29-
3016
package(default_visibility = ["//visibility:public"])
3117

3218
# Enables formatting targets
@@ -44,8 +30,8 @@ copyright_checker(
4430
],
4531
exclude = ["process/trustable/**"],
4632
),
47-
config = "@score_cr_checker//resources:config",
48-
template = "@score_cr_checker//resources:templates",
33+
config = "@score_tooling//cr_checker/resources:config",
34+
template = "@score_tooling//cr_checker/resources:templates",
4935
visibility = ["//visibility:public"],
5036
)
5137

MODULE.bazel

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,20 +42,14 @@ python.toolchain(
4242
use_repo(python)
4343

4444
# Additional Python rules provided by aspect, e.g. an improved version of
45-
bazel_dep(name = "aspect_rules_py", version = "1.4.0")
45+
bazel_dep(name = "aspect_rules_py", version = "1.6.3")
4646
bazel_dep(name = "buildifier_prebuilt", version = "8.2.0.2")
4747

4848
###############################################################################
4949
#
5050
# Generic linting and formatting rules
5151
#
5252
###############################################################################
53-
bazel_dep(name = "aspect_rules_lint", version = "1.4.4")
54-
55-
# Provides, pytest & venv
56-
bazel_dep(name = "score_python_basics", version = "0.3.4")
57-
58-
# Checker rule for CopyRight checks/fixes
59-
bazel_dep(name = "score_cr_checker", version = "0.3.1")
60-
bazel_dep(name = "score_format_checker", version = "0.1.1")
61-
bazel_dep(name = "score_docs_as_code", version = "1.0.2")
53+
bazel_dep(name = "aspect_rules_lint", version = "1.5.3")
54+
bazel_dep(name = "score_tooling", version = "1.0.0")
55+
bazel_dep(name = "score_docs_as_code", version = "1.1.0")

0 commit comments

Comments
 (0)