Skip to content

Commit

Permalink
chore(pre-commit): auto update hooks (#265)
Browse files Browse the repository at this point in the history
This is an automation, check the updated pre-commit hooks and target
files

Co-authored-by: fredclausen <43556888+fredclausen@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and fredclausen authored Feb 16, 2025
1 parent 4aac9fa commit 65256fe
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
repos:
# lint yaml, line and whitespace
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b # frozen: v5.0.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
Expand All @@ -13,13 +13,13 @@ repos:

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

# prettier
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v4.0.0-alpha.8" # Use the sha / tag you want to point at
rev: "f12edd9c7be1c20cfa42420fd0e6df71e42b51ea" # frozen: v4.0.0-alpha.8
hooks:
- id: prettier
types_or: [file, bash, sh, javascript, jsx, ts, tsx]
Expand All @@ -28,38 +28,38 @@ repos:
exclude: ^(Dockerfile*)

- repo: https://github.com/codespell-project/codespell.git
rev: "v2.4.1" # Use the sha / tag you want to point at
rev: "63c8f8312b7559622c0d82815639671ae42132ac" # frozen: v2.4.1
hooks:
- id: codespell
types: [text]
args: [--ignore-words=.dictionary.txt]
exclude: ^(Dockerfile*)

- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.10.0.1
rev: a23f6b85d0fdd5bb9d564e2579e678033debbdff # frozen: v0.10.0.1
hooks:
- id: shellcheck

- repo: https://github.com/sirosen/check-jsonschema
rev: 0.31.1
rev: a20fe80ebdd4aec6791598c9ff559985580f91ea # frozen: 0.31.1
hooks:
- id: check-github-actions
- id: check-github-workflows

- repo: https://github.com/doublify/pre-commit-rust
rev: v1.0
rev: eeee35a89e69d5772bdee97db1a6a898467b686e # frozen: v1.0
hooks:
- id: fmt
- id: cargo-check

# lint python formatting
- repo: https://github.com/psf/black
rev: 25.1.0
rev: 8a737e727ac5ab2f1d4cf5876720ed276dc8dc4b # frozen: 25.1.0
hooks:
- id: black

- repo: https://github.com/pycqa/flake8
rev: "7.1.1" # pick a git hash / tag to point to
rev: "e43806be3607110919eff72939fda031776e885a" # frozen: 7.1.1
hooks:
- id: flake8
args: ["--extend-ignore=W503,W504,E501"]

0 comments on commit 65256fe

Please sign in to comment.