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
16 changes: 0 additions & 16 deletions .devcontainer/Dockerfile

This file was deleted.

11 changes: 0 additions & 11 deletions .devcontainer/devcontainer.json

This file was deleted.

39 changes: 23 additions & 16 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ repos:
- id: mixed-line-ending
- id: check-added-large-files
- id: check-json
exclude: "devcontainer.json"
- id: check-yaml
- id: check-toml
- id: check-ast
Expand All @@ -35,19 +34,19 @@ repos:
- id: check-pre-commit-ci-config

- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.11.3
rev: 0.11.8
hooks:
- id: uv-lock

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.9
rev: v0.15.12
hooks:
- id: ruff-check
args: ["--fix"]
- id: ruff-format

- repo: https://github.com/billwallis/bills-hooks
rev: v0.0.13
rev: v0.0.14
hooks:
- id: banned-python-code
- id: check-no-commit-comment
Expand All @@ -61,22 +60,30 @@ repos:

- repo: local
hooks:
- <<: &check-jsonschema-config
entry: check-jsonschema
pass_filenames: true
language: python
additional_dependencies: ["check-jsonschema==0.37.1"]
# This calls a remote URL, so run on pre-push to avoid slowing down commits
stages: ["pre-push"]
id: check-pyproject-schema
- id: check-pyproject-schema
name: Validate pyproject.toml schema
files: pyproject.toml
entry: check-jsonschema
args: ["--schemafile", "https://json.schemastore.org/pyproject.json"]
- <<: *check-jsonschema-config
id: check-pre-commit-hooks-schema
files: pyproject.toml
pass_filenames: true
language: python
additional_dependencies: ["check-jsonschema==0.37.1"]
# This calls a remote URL, so run on pre-push to avoid slowing down commits
stages: ["pre-push"]

# Keep this one separate to make it easier to delete in downstream repos
- repo: local
hooks:
- id: check-pre-commit-hooks-schema
name: Validate .pre-commit-hooks.yaml schema
files: .pre-commit-hooks.yaml
entry: check-jsonschema
args: ["--schemafile", "https://json.schemastore.org/pre-commit-hooks.json"]
files: .pre-commit-hooks.yaml
pass_filenames: true
language: python
additional_dependencies: ["check-jsonschema==0.37.1"]
# This calls a remote URL, so run on pre-push to avoid slowing down commits
stages: ["pre-push"]

- repo: local
hooks:
Expand Down