From a9be086e73bbacedd20d05768028ad6c2534697c Mon Sep 17 00:00:00 2001 From: Tobias Raabe Date: Sat, 15 Aug 2026 07:52:45 +0200 Subject: [PATCH 1/2] chore: remove unused hooks and use powershell with just --- .pre-commit-config.yaml | 13 +++---------- justfile | 3 +++ 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 88aeb022..7e46f8e9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,20 +17,13 @@ repos: args: [--branch, main] - id: trailing-whitespace exclude: (__snapshots__) -- repo: https://github.com/pre-commit/pygrep-hooks - rev: v1.10.0 - hooks: - - id: python-check-blanket-noqa - - id: python-check-mock-methods - - id: python-no-log-warn - - id: text-unicode-replacement-char - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.16.2 + rev: v0.16.3 hooks: - id: ruff-format - id: ruff-check - repo: https://github.com/astral-sh/uv-pre-commit - rev: 0.12.3 + rev: 0.12.5 hooks: - id: uv-lock - repo: local @@ -67,7 +60,7 @@ repos: - id: nbstripout exclude: (docs) - repo: https://github.com/crate-ci/typos - rev: v1 + rev: v1.49.0 hooks: - id: typos exclude: (\.ipynb) diff --git a/justfile b/justfile index 45e65c07..5d2bb9bc 100644 --- a/justfile +++ b/justfile @@ -1,3 +1,6 @@ +[windows] +set shell := ["powershell.exe", "-Command"] + # Install all dependencies install: uv sync --all-groups From 9626f7f4a189ba5aa973dbb187bc2124dba8b897 Mon Sep 17 00:00:00 2001 From: Tobias Raabe Date: Sat, 15 Aug 2026 08:00:46 +0200 Subject: [PATCH 2/2] fix --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cdef063d..2141fd50 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -35,7 +35,7 @@ jobs: - name: Install just uses: extractions/setup-just@53165ef7e734c5c07cb06b3c8e7b647c5aa16db3 # v4.0.0 with: - just-version: "1.43.1" + just-version: "1.58.0" - name: Install graphviz run: | sudo apt-get update @@ -66,7 +66,7 @@ jobs: - name: Install just uses: extractions/setup-just@53165ef7e734c5c07cb06b3c8e7b647c5aa16db3 # v4.0.0 with: - just-version: "1.43.1" + just-version: "1.58.0" - if: matrix.os == 'ubuntu-latest' run: |