chore: ressort whitespace hooks in pre-commit config #52

Merged
Philipp merged 2 commits from pre-commit-resort into main 2025-12-27 01:42:41 +01:00
2 changed files with 55 additions and 55 deletions
Showing only changes of commit e5773d3235 - Show all commits

View File

@@ -1,37 +1,37 @@
{ {
"name": "JS Dev Container", "name": "JS Dev Container",
"image": "mcr.microsoft.com/devcontainers/javascript-node:4-20", "image": "mcr.microsoft.com/devcontainers/javascript-node:4-20",
"features": { "features": {
"ghcr.io/devcontainers/features/git:1": {}, "ghcr.io/devcontainers/features/git:1": {},
"ghcr.io/devcontainers/features/git-lfs:1": {}, "ghcr.io/devcontainers/features/git-lfs:1": {},
"ghcr.io/devcontainers-extra/features/pre-commit:2": {}, "ghcr.io/devcontainers-extra/features/pre-commit:2": {},
"ghcr.io/devcontainers-extra/features/npm-packages:1": { "ghcr.io/devcontainers-extra/features/npm-packages:1": {
"packages": "@google/gemini-cli" "packages": "@google/gemini-cli"
} }
}, },
"customizations": { "customizations": {
"vscode": { "vscode": {
"extensions": [ "extensions": [
"ms-python.python", "ms-python.python",
"esbenp.prettier-vscode", "esbenp.prettier-vscode",
"vitest.explorer", "vitest.explorer",
"google.gemini-cli-vscode-ide-companion", "google.gemini-cli-vscode-ide-companion",
"google.geminicodeassist" "google.geminicodeassist"
], ],
"settings": { "settings": {
"editor.formatOnSave": true, "editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode" "editor.defaultFormatter": "esbenp.prettier-vscode"
} }
} }
}, },
"postStartCommand": "bash .devcontainer/setup.sh", "postStartCommand": "bash .devcontainer/setup.sh",
"remoteUser": "node", "remoteUser": "node",
"updateRemoteUserUID": true, "updateRemoteUserUID": true,
"mounts": [ "mounts": [
"source=pipx-venvs,target=/home/node/.local/share/pipx,type=volume", "source=pipx-venvs,target=/home/node/.local/share/pipx,type=volume",
"source=pipx-bin,target=/home/node/.local/bin,type=volume", "source=pipx-bin,target=/home/node/.local/bin,type=volume",
"source=pre-commit-cache,target=/home/node/.cache/pre-commit,type=volume", "source=pre-commit-cache,target=/home/node/.cache/pre-commit,type=volume",
"source=${localEnv:USERPROFILE}/.gemini,target=/home/node/.gemini,type=bind", "source=${localEnv:USERPROFILE}/.gemini,target=/home/node/.gemini,type=bind",
"source=gvscode-extensions,target=/home/node/.cache/google-vscode-extension,type=volume" "source=gvscode-extensions,target=/home/node/.cache/google-vscode-extension,type=volume"
] ]
} }

View File

@@ -1,18 +1,18 @@
name: Lint name: Lint
on: on:
push: push:
workflow_dispatch: workflow_dispatch:
jobs: jobs:
pre-commit-lint: pre-commit-lint:
name: pre-commit Linting name: pre-commit Linting
runs-on: pi runs-on: pi
steps: steps:
- uses: actions/checkout@v6 - uses: actions/checkout@v6
- uses: actions/setup-python@v6 - uses: actions/setup-python@v6
- run: pip install pre-commit - run: pip install pre-commit
shell: bash shell: bash
- name: Pre Commit - name: Pre Commit
run: SKIP=no-commit-to-branch pre-commit run -a run: SKIP=no-commit-to-branch pre-commit run -a
shell: bash shell: bash