Skip to content
This repository was archived by the owner on Aug 14, 2025. It is now read-only.

chore(pre-commit): add a few more checks to pre-commit #23

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
11 changes: 11 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading