diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 5da6d4e..dc8204c 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -94,14 +94,6 @@ jobs: fail_ci_if_error: false use_oidc: true - lint: - name: Pre-commit checks - runs-on: ubuntu-latest - steps: - - *clone - - *setup-uv - - run: uvx --with=hatch prek run --all-files --show-diff-on-failure --color=always - # Check that all tests defined above pass. This makes it easy to set a single "required" test in branch # protection instead of having to update it frequently. See https://github.com/re-actors/alls-green#why. check: @@ -110,7 +102,6 @@ jobs: needs: - get-environments - test - - lint runs-on: ubuntu-latest steps: - uses: re-actors/alls-green@b5b5b37504aa4183270bd3d855c52a67f212be35 # v1.3.0 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3f83aa7..e09f928 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,18 +7,18 @@ default_stages: minimum_pre_commit_version: 2.16.0 repos: - repo: https://github.com/biomejs/pre-commit - rev: v2.5.11 + rev: v2.5.13 hooks: - id: biome-format exclude: ^\.cruft\.json$ # inconsistent indentation with cruft - file never to be modified manually. groups: [format] - repo: https://github.com/tox-dev/pyproject-fmt - rev: v2.29.2 + rev: v2.29.4 hooks: - id: pyproject-fmt groups: [format] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.16.5 + rev: v0.16.7 hooks: - id: ruff-check args: [--fix, --exit-non-zero-on-fix] @@ -53,7 +53,7 @@ repos: args: [--assume-in-merge] - repo: https://github.com/zizmorcore/zizmor-pre-commit - rev: v1.30.0 + rev: v1.30.1 hooks: - id: zizmor args: [--no-progress, --fix] diff --git a/pyproject.toml b/pyproject.toml index 5642bd1..a1c793f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,6 +23,7 @@ classifiers = [ "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", + "Programming Language :: Python :: 3.15", "Typing :: Typed", ] dependencies = [ @@ -42,6 +43,7 @@ entry-points."sphinx.html_themes".scverse = "scverse_doc.theme" [dependency-groups] dev = [ + "prek", "twine>=4.0.2", ] test = [