Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/post_create_command.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ npm install -g @devcontainers/cli
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd -P)"
REPOSITORY_ROOT="$(cd "${SCRIPT_DIR}/.." && pwd -P)"

sudo "${REPOSITORY_ROOT}/tools/tool_installer.py" install shellcheck yamlfmt apm
sudo "${REPOSITORY_ROOT}/tools/tool_installer.py" install bazelisk shellcheck yamlfmt

pre-commit install

Expand Down
10 changes: 10 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,16 @@ repos:
exclude: ^MODULE\.bazel\.lock$
- repo: local
hooks:
- id: bzlmod-tidy
name: bazel mod tidy
entry: bazelisk mod tidy
language: system
pass_filenames: false
- id: bzlmod-lockfile
name: bazel mod deps lockfile check
entry: bazelisk mod deps --lockfile_mode=error
language: system
pass_filenames: false
- id: yamlfmt
name: yamlfmt
entry: tools/run_tool.sh yamlfmt
Expand Down
2 changes: 0 additions & 2 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ module(name = "score_devcontainer")
bazel_dep(name = "rules_multitool", version = "1.11.1")

multitool = use_extension("@rules_multitool//multitool:extension.bzl", "multitool")

multitool.hub(lockfile = "//tools:lockfiles/actionlint.lock.json")
multitool.hub(lockfile = "//tools:lockfiles/ruff.lock.json")
multitool.hub(lockfile = "//tools:lockfiles/shellcheck.lock.json")
Expand All @@ -27,7 +26,6 @@ multitool.hub(lockfile = "//tools:lockfiles/starpls.lock.json")
multitool.hub(lockfile = "//tools:lockfiles/bazelisk.lock.json")
multitool.hub(lockfile = "//tools:lockfiles/apm.lock.json")
multitool.hub(lockfile = "//tools:lockfiles/opencode.lock.json")

use_repo(multitool, "multitool")

register_toolchains("@multitool//toolchains:all")