diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml index 4800a91..b564efa 100644 --- a/.github/workflows/dependabot.yml +++ b/.github/workflows/dependabot.yml @@ -30,6 +30,12 @@ jobs: python-version: "3.11" - name: Install the latest version of uv uses: astral-sh/setup-uv@v7 + # VTK/pyvista's built-in headless rendering has segfaulted + # intermittently on ubuntu-24.04 runners (see the same step in + # run-tests.yml); a real Xvfb display avoids that here too, since + # pre-commit's code-cov-gen hook runs the full pytest suite. + - name: Setup headless display + uses: pyvista/setup-headless-display-action@v5 # run pre-commmit checks using prek for faster execution - uses: j178/prek-action@v3.0.0 id: pre_commit diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9d2522f..2bafea4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,7 +15,7 @@ repos: - id: check-yaml - id: detect-private-key - repo: https://github.com/tox-dev/pyproject-fmt - rev: "v2.29.4" + rev: "v2.30.1" hooks: - id: pyproject-fmt - repo: https://github.com/codespell-project/codespell @@ -31,7 +31,7 @@ repos: tests/data/CP_tutorial_3D_noise_nuclei_segmentation/output/MyExpt_Experiment\.csv )$ - repo: https://github.com/executablebooks/mdformat - rev: 0.7.18 + rev: 1.0.0 hooks: - id: mdformat additional_dependencies: @@ -50,7 +50,7 @@ repos: hooks: - id: actionlint - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.16.5" + rev: "v0.16.10" hooks: - id: ruff-format - id: ruff-check