1
0
Fork 0
forked from github/pelican
pelican-theme/.pre-commit-config.yaml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
765 B
YAML
Raw Normal View History

2023-04-16 09:07:44 +02:00
---
# See https://pre-commit.com/hooks.html for info on hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.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
2023-04-16 09:07:44 +02:00
- id: forbid-new-submodules
- id: trailing-whitespace
2023-10-28 10:44:39 -07:00
- repo: https://github.com/astral-sh/ruff-pre-commit
2024-05-30 10:56:06 -05:00
# ruff version should match the one in pyproject.toml
rev: v0.4.6
hooks:
2023-10-28 10:44:39 -07:00
- id: ruff
2024-05-30 09:02:23 -05:00
args: [--fix, --exit-non-zero-on-fix]
2023-10-28 10:44:39 -07:00
- id: ruff-format
- repo: https://github.com/rtts/djhtml
rev: '3.0.6'
hooks:
- id: djhtml
- id: djcss
- id: djjs