From bdb82c72487ed8671e838603dd65e5046933c554 Mon Sep 17 00:00:00 2001 From: Alexei Znamensky <103110+russoz@users.noreply.github.com> Date: Sat, 4 Apr 2026 08:49:23 +1300 Subject: [PATCH] chore: devcontainer/pre-commit (#11729) --- .devcontainer/devcontainer.json | 2 +- .devcontainer/setup.sh | 1 + .pre-commit-config.yaml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index c3a8cb8bfe..053e34fd6f 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -23,7 +23,7 @@ "ms-python.vscode-pylance", "redhat.ansible", "redhat.vscode-yaml", - "trond-snekvik.simple-rst", + "trond-snekvik.simple-rst" ] } }, diff --git a/.devcontainer/setup.sh b/.devcontainer/setup.sh index cced6bc2ca..046845baab 100755 --- a/.devcontainer/setup.sh +++ b/.devcontainer/setup.sh @@ -3,6 +3,7 @@ # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt) # SPDX-License-Identifier: GPL-3.0-or-later +set -x sudo chown -R vscode:vscode /workspace/ pip install -U pip diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e20e8ea6cd..9f0b560824 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.14.10 + rev: v0.15.9 hooks: # Run the linter. - id: ruff-check