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
3 changes: 3 additions & 0 deletions tools/run_tool.sh → .devcontainer/run-tool
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
# Unified entry point for running a CLI tool by name.
# Inside a container the tool is expected on PATH; outside, it is resolved via Bazel.
# See https://github.com/eclipse-score/devcontainer/tree/main/tools for further information.
#
# Do not modify this file. Its source of truth is managed by the
# SCORE devcontainer standardization policy.

set -euo pipefail

Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,20 +46,20 @@ repos:
- id: actionlint
name: actionlint
# Disable shellcheck and pyflakes for now, to enforce consistent behavior.
entry: tools/run_tool.sh actionlint -shellcheck= -pyflakes=
entry: .devcontainer/run-tool actionlint -shellcheck= -pyflakes=
language: system
require_serial: true
types: [yaml]
files: ^\.github/workflows/
- id: ruff-check
name: ruff-check
entry: tools/run_tool.sh ruff check --fix
entry: .devcontainer/run-tool ruff check --fix
language: system
require_serial: true
types: [python]
- id: ruff-format
name: ruff-format
entry: tools/run_tool.sh ruff format
entry: .devcontainer/run-tool ruff format
language: system
require_serial: true
types: [python]
Expand Down
Loading