diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b55a0a8..f2abfad 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,10 +8,21 @@ repos: rev: v5.0.0 # Latest stable version hooks: - id: check-merge-conflict + args: ['--assume-in-merge'] - id: check-added-large-files args: ['--maxkb=1000'] + - id: trailing-whitespace + exclude: '\.py$' # Exclude Python files as Ruff already handles them - id: end-of-file-fixer exclude: '^(.*\.svg)$' + - id: check-yaml + args: ["--unsafe"] + - id: detect-private-key + - id: check-executables-have-shebangs + - id: check-json + - id: check-shebang-scripts-are-executable + - id: check-symlinks + - id: check-toml - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.9.4