Update .pre-commit-config.yaml #7

Merged
Philipp merged 2 commits from philipp-patch-1 into main 2026-01-05 03:08:27 +01:00
Showing only changes of commit 3119d75031 - Show all commits

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]