Skip to content

Commit

Permalink
⬆️ Pre-Commit 4.0 (#1098)
Browse files Browse the repository at this point in the history
* Bump `pre-commit` from `3.8` to `4.0` in `.mise.toml`
* Bump `blacken-docs` commit hook from `1.15.0` to `1.19.0`
  • Loading branch information
rblaine95 authored Oct 9, 2024
1 parent 075386e commit 7997ba6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ istioctl = "1.23"
kind = "0.24"
kubectl = "1.31"
poetry = { version = "1.8", pyproject = "pyproject.toml" }
pre-commit = "3.8"
pre-commit = "4.0"
python = "3.12"
tilt = "0.33"
usage = "latest"
Expand Down
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@ repos:
rev: 24.8.0
hooks:
- id: black
stages: [push]
stages: [pre-push]
language_version: python3

- repo: https://github.com/asottile/blacken-docs
rev: 1.15.0
rev: 1.19.0
hooks:
- id: blacken-docs
stages: [push]
additional_dependencies: [black==24.8.0]
stages: [pre-push]
additional_dependencies: [black~=24.8.0]
language_version: python3
files: '\.(rst|md|markdown|py|tex)$'

- repo: https://github.com/PyCQA/isort
rev: 5.13.2
hooks:
- id: isort
stages: [push]
stages: [pre-push]
args: ["--profile", "black", "."]

0 comments on commit 7997ba6

Please sign in to comment.