Skip to content

Commit

Permalink
build: specify pre-commit stage on all hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
pdecat committed Mar 7, 2025
1 parent b7f7811 commit fcc7d2a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,36 @@ repos:
rev: v5.0.0
hooks:
- id: trailing-whitespace
stages: [pre-commit]
- id: end-of-file-fixer
stages: [pre-commit]
- id: check-added-large-files
stages: [pre-commit]
- id: check-toml
stages: [pre-commit]
- id: check-yaml
stages: [pre-commit]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.9
hooks:
- id: ruff
args: [--fix]
stages: [pre-commit]
- id: ruff-format
stages: [pre-commit]

- repo: https://codeberg.org/frnmst/md-toc
rev: 9.0.0
hooks:
- id: md-toc
stages: [pre-commit]

- repo: https://github.com/tox-dev/tox-ini-fmt
rev: "1.5.0"
hooks:
- id: tox-ini-fmt
stages: [pre-commit]

- repo: https://github.com/compilerla/conventional-pre-commit
rev: v4.0.0
Expand Down

0 comments on commit fcc7d2a

Please sign in to comment.