From 18426f1414c079097e97ca787a45119bd24d2f52 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 5 Nov 2026 21:54:34 +0000 Subject: [PATCH 1/2] chore(deps): bump the pre-commit group with 2 updates Bumps the pre-commit group with 2 updates: [https://github.com/astral-sh/ruff-pre-commit](https://github.com/astral-sh/ruff-pre-commit) and [https://github.com/biomejs/pre-commit](https://github.com/biomejs/pre-commit). Updates `https://github.com/astral-sh/ruff-pre-commit` from v0.17.2 to 0.17.3 - [Release notes](https://github.com/astral-sh/ruff-pre-commit/releases) - [Commits](https://github.com/astral-sh/ruff-pre-commit/compare/v0.17.2...v0.17.3) Updates `https://github.com/biomejs/pre-commit` from v2.6.2 to 2.6.4 - [Release notes](https://github.com/biomejs/pre-commit/releases) - [Commits](https://github.com/biomejs/pre-commit/compare/v2.6.2...v2.6.4) --- updated-dependencies: - dependency-name: https://github.com/astral-sh/ruff-pre-commit dependency-version: 0.17.3 dependency-type: direct:production dependency-group: pre-commit - dependency-name: https://github.com/biomejs/pre-commit dependency-version: 2.6.4 dependency-type: direct:production dependency-group: pre-commit ... Signed-off-by: dependabot[bot] --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d95207d..f866560 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,7 +8,7 @@ repos: groups: [format] - id: no-commit-to-branch - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.17.2 + rev: v0.17.3 hooks: - id: ruff-check args: [--fix, --exit-non-zero-on-fix] @@ -22,7 +22,7 @@ repos: - id: pyproject-fmt groups: [format] - repo: https://github.com/biomejs/pre-commit - rev: v2.6.2 + rev: v2.6.4 hooks: - id: biome-format groups: [format] From 4ab7de7bc5b72391d35ec555c30f993dd9ceff3e Mon Sep 17 00:00:00 2001 From: "Philipp A." Date: Fri, 6 Nov 2026 08:52:23 +0100 Subject: [PATCH 2/2] fmt --- .github/workflows/autofix.yml | 5 ++- .github/workflows/ci-gpu.yml | 6 +-- .github/workflows/ci.yml | 10 ++--- .pre-commit-config.yaml | 74 +++++++++++++++++------------------ 4 files changed, 48 insertions(+), 47 deletions(-) diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.yml index fd46600..d3ca291 100644 --- a/.github/workflows/autofix.yml +++ b/.github/workflows/autofix.yml @@ -15,7 +15,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - with: { fetch-depth: 0, filter: "blob:none", persist-credentials: false } + with: + { fetch-depth: 0, filter: "blob:none", persist-credentials: false } - uses: astral-sh/setup-uv@v10.3.2 with: enable-cache: true @@ -23,4 +24,4 @@ jobs: - name: Run pre-commit hooks run: uvx prek run --all-files --show-diff-on-failure --color=always - uses: autofix-ci/action@v1.3.4 - if: '!cancelled()' + if: "!cancelled()" diff --git a/.github/workflows/ci-gpu.yml b/.github/workflows/ci-gpu.yml index 08de22c..ca797a8 100644 --- a/.github/workflows/ci-gpu.yml +++ b/.github/workflows/ci-gpu.yml @@ -35,8 +35,8 @@ jobs: needs: check permissions: contents: read - id-token: write # for codecov OIDC - pull-requests: write # for removing the label + id-token: write # for codecov OIDC + pull-requests: write # for removing the label runs-on: "cirun-aws-gpu--${{ github.run_id }}" timeout-minutes: 30 steps: @@ -50,7 +50,7 @@ jobs: python-version: "3.13" - uses: astral-sh/setup-uv@v10.3.2 with: - enable-cache: true # "auto" is `false` on non-GitHub runners + enable-cache: true # "auto" is `false` on non-GitHub runners - name: Install package run: uv pip install --system --group=test -e .[full] cupy-cuda13x --extra-index-url=https://pypi.nvidia.com --index-strategy=unsafe-best-match - name: List installed packages diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 75c48b6..a90b67f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,7 +47,7 @@ jobs: name: Tests needs: get-environments permissions: - id-token: write # for codecov OIDC + id-token: write # for codecov OIDC runs-on: ${{ matrix.os }} strategy: matrix: @@ -81,19 +81,19 @@ jobs: bench: name: CPU Benchmarks permissions: - id-token: write # for codspeed OIDC + id-token: write # for codspeed OIDC runs-on: ubuntu-latest steps: - uses: actions/checkout@v7 with: { fetch-depth: 0, filter: "blob:none" } - uses: actions/setup-python@v7.1.0 with: - python-version: '3.14' + python-version: "3.14" - uses: astral-sh/setup-uv@v10.3.2 - run: uv pip install --system --group=test -e .[full] - uses: CodSpeedHQ/action@v5.6.0 env: - OMP_WAIT_POLICY: passive # spinning omp barriers make instruction counts noisy + OMP_WAIT_POLICY: passive # spinning omp barriers make instruction counts noisy with: mode: simulation run: pytest -m benchmark --codspeed -n auto @@ -105,7 +105,7 @@ jobs: with: { fetch-depth: 0, filter: "blob:none" } - uses: actions/setup-python@v7.1.0 with: - python-version: '3.14' + python-version: "3.14" - uses: astral-sh/setup-uv@v10.3.2 - run: uv pip install --system -e . - run: python -c 'import fast_array_utils as fau; print(fau.__all__)' diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f866560..95d147e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,38 +1,38 @@ repos: -- repo: https://github.com/pre-commit/pre-commit-hooks - rev: v6.0.0 - hooks: - - id: end-of-file-fixer - groups: [format] - - id: trailing-whitespace - groups: [format] - - id: no-commit-to-branch -- repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.17.3 - hooks: - - id: ruff-check - args: [--fix, --exit-non-zero-on-fix] - - id: ruff-check - args: [--preview, --select=CPY] - - id: ruff-format - groups: [format] -- repo: https://github.com/tox-dev/pyproject-fmt - rev: v2.30.3 - hooks: - - id: pyproject-fmt - groups: [format] -- repo: https://github.com/biomejs/pre-commit - rev: v2.6.4 - hooks: - - id: biome-format - groups: [format] -- repo: local - hooks: - - id: mypy - name: mypy - entry: hatch check types - language: system - types_or: [python, pyi] - require_serial: true - pass_filenames: false - groups: [typecheck] + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v6.0.0 + hooks: + - id: end-of-file-fixer + groups: [format] + - id: trailing-whitespace + groups: [format] + - id: no-commit-to-branch + - repo: https://github.com/astral-sh/ruff-pre-commit + rev: v0.17.3 + hooks: + - id: ruff-check + args: [--fix, --exit-non-zero-on-fix] + - id: ruff-check + args: [--preview, --select=CPY] + - id: ruff-format + groups: [format] + - repo: https://github.com/tox-dev/pyproject-fmt + rev: v2.30.3 + hooks: + - id: pyproject-fmt + groups: [format] + - repo: https://github.com/biomejs/pre-commit + rev: v2.6.4 + hooks: + - id: biome-format + groups: [format] + - repo: local + hooks: + - id: mypy + name: mypy + entry: hatch check types + language: system + types_or: [python, pyi] + require_serial: true + pass_filenames: false + groups: [typecheck]