Update .pre-commit-config.yaml (#7)
All checks were successful
Lint / pre-commit Linting (push) Successful in 56s

Update to the pre-commit config. Only merge after one month of testing in an active repo

Reviewed-on: #7
This commit was merged in pull request #7.
This commit is contained in:
2026-01-05 03:08:27 +01:00
parent cec79e619a
commit 4057b8a2c8
3 changed files with 26 additions and 8 deletions

View File

@@ -2,10 +2,6 @@ repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: end-of-file-fixer
exclude: (.txt$|.ipynb$|README.md$|readme.mde$)
- id: trailing-whitespace
exclude: (.txt$|README.md$)
# - id: check-yaml
- id: check-json
- id: check-toml
@@ -74,6 +70,14 @@ repos:
- id: prettier
types_or: [css, javascript]
- repo: https://github.com/executablebooks/mdformat
rev: 1.0.0 # Check for the latest version
hooks:
- id: mdformat
# Important: The GFM plugin is required for table support
additional_dependencies:
- mdformat-gfm
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.36.0
hooks:
@@ -86,6 +90,7 @@ repos:
- id: check-compose-spec
- id: check-dependabot
# the following hooks should always be at the end fo the file since they may add to what other hooks do
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
@@ -93,3 +98,5 @@ repos:
exclude: (.txt$|.ipynb$|README.md$|readme.mde$)
- id: trailing-whitespace
exclude: (.txt$|README.md$)
- id: mixed-line-ending
args: [--fix=lf]