mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
23 lines
595 B
YAML
23 lines
595 B
YAML
---
|
|
# See https://pre-commit.com/hooks.html for info on hooks
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.5.0
|
|
hooks:
|
|
- id: check-added-large-files
|
|
- id: check-ast
|
|
- id: check-toml
|
|
- id: check-yaml
|
|
- id: debug-statements
|
|
- id: detect-private-key
|
|
- id: end-of-file-fixer
|
|
- id: forbid-new-submodules
|
|
- id: trailing-whitespace
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.1.5
|
|
hooks:
|
|
- id: ruff
|
|
- id: ruff-format
|
|
args: ["--check"]
|
|
|
|
exclude: ^pelican/tests/output/
|