Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -110,7 +102,6 @@ jobs:
needs:
- get-environments
- test
- lint
runs-on: ubuntu-latest
steps:
- uses: re-actors/alls-green@b5b5b37504aa4183270bd3d855c52a67f212be35 # v1.3.0
Expand Down
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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]
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand All @@ -42,6 +43,7 @@ entry-points."sphinx.html_themes".scverse = "scverse_doc.theme"

[dependency-groups]
dev = [
"prek",
"twine>=4.0.2",
]
test = [
Expand Down
Loading