Skip to content

Commit 016d8d9

Browse files
authored
Merge pull request #160 from Aymen-Soussi-01/update-default-and-custum-bazel-modules
Update default and custom Bazel modules
2 parents 33cba38 + a161e53 commit 016d8d9

File tree

3 files changed

+8
-14
lines changed

3 files changed

+8
-14
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 & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
#
1111
# SPDX-License-Identifier: Apache-2.0
1212
# *******************************************************************************
13-
load("@score_cr_checker//:cr_checker.bzl", "copyright_checker")
1413
load("@score_docs_as_code//:docs.bzl", "docs")
14+
load("@score_tooling//:defs.bzl", "copyright_checker", "use_format_targets")
1515

1616
# *******************************************************************************
1717
# Copyright (c) 2025 Contributors to the Eclipse Foundation
@@ -25,7 +25,6 @@ load("@score_docs_as_code//:docs.bzl", "docs")
2525
#
2626
# SPDX-License-Identifier: Apache-2.0
2727
# *******************************************************************************
28-
load("@score_format_checker//:macros.bzl", "use_format_targets")
2928

3029
package(default_visibility = ["//visibility:public"])
3130

@@ -44,8 +43,8 @@ copyright_checker(
4443
],
4544
exclude = ["process/trustable/**"],
4645
),
47-
config = "@score_cr_checker//resources:config",
48-
template = "@score_cr_checker//resources:templates",
46+
config = "@score_tooling//cr_checker/resources:config",
47+
template = "@score_tooling//cr_checker/resources:templates",
4948
visibility = ["//visibility:public"],
5049
)
5150

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)