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
3 changes: 3 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,7 @@
commitMessageLowerCase: "never",
// Disable auto-rebase on every commit to avoid reaching Github limits on macos runners
rebaseWhen: "conflicted",
"pre-commit": {
enabled: false, // Use pre-commit.ci freeze instead
},
}
20 changes: 10 additions & 10 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ci:

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b # frozen: v5.0.0
hooks:
# Git style
- id: check-added-large-files
Expand Down Expand Up @@ -43,25 +43,25 @@ repos:

# Detect hardcoded secrets
- repo: https://github.com/gitleaks/gitleaks
rev: v8.26.0
rev: a248f9279b38aeff5bbd4c85cc6f15b64d27e794 # frozen: v8.27.0
hooks:
- id: gitleaks

# Github Action static analysis tool
- repo: https://github.com/woodruffw/zizmor-pre-commit
rev: v1.9.0
rev: d2c1833a059c66713cd52c032617766134679a0f # frozen: v1.9.0
hooks:
- id: zizmor

# Dockerfile
- repo: https://github.com/hadolint/hadolint
rev: v2.13.1-beta
rev: c3dc18df7a501f02a560a2cc7ba3c69a85ca01d3 # frozen: v2.13.1-beta
hooks:
- id: hadolint

# YAML
- repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
rev: 0.2.3
rev: 8d1b9cadaf854cb25bb0b0f5870e1cc66a083d6b # frozen: 0.2.3
hooks:
- id: yamlfmt
args:
Expand All @@ -72,7 +72,7 @@ repos:
- --implicit_start

- repo: https://github.com/adrienverge/yamllint.git
rev: v1.37.1
rev: 79a6b2b1392eaf49cdd32ac4f14be1a809bbd8f7 # frozen: v1.37.1
hooks:
- id: yamllint
types:
Expand All @@ -83,15 +83,15 @@ repos:

# JSON5
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v4.0.0-alpha.8
rev: f12edd9c7be1c20cfa42420fd0e6df71e42b51ea # frozen: v4.0.0-alpha.8
hooks:
- id: prettier
# https://prettier.io/docs/en/options.html#parser
files: .json5$

# Bash
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 3.0.0
rev: 38980559e3a605691d6579f96222c30778e5a69e # frozen: 3.0.0
hooks:
- id: shfmt
args:
Expand All @@ -105,15 +105,15 @@ repos:

# Python
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.11.11
rev: 9aeda5d1f4bbd212c557da1ea78eca9e8c829e19 # frozen: v0.11.13
hooks:
- id: ruff
args:
- --fix
- id: ruff-format

- repo: https://github.com/pre-commit/mirrors-mypy.git
rev: v1.15.0
rev: 7010b10a09f65cd60a23c207349b539aa36dbec1 # frozen: v1.16.0
hooks:
- id: mypy
alias: mypy-py313
Expand Down