mirror of
https://github.com/boostorg/website-v2.git
synced 2026-02-27 17:42:08 +00:00
38 lines
941 B
YAML
38 lines
941 B
YAML
default_language_version:
|
|
python: python3.9
|
|
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.3.0
|
|
hooks:
|
|
- id: check-case-conflict
|
|
- id: check-merge-conflict
|
|
- id: check-yaml
|
|
- id: end-of-file-fixer
|
|
- id: trailing-whitespace
|
|
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
|
rev: 'v0.0.263'
|
|
hooks:
|
|
- id: ruff
|
|
- repo: https://github.com/rtts/djhtml
|
|
rev: 'v2.0.0'
|
|
hooks:
|
|
- id: djhtml
|
|
entry: djhtml --tabwidth 2
|
|
files: .*/templates/.*\.html$
|
|
alias: autoformat
|
|
- repo: https://github.com/ambv/black
|
|
rev: 22.8.0
|
|
hooks:
|
|
- id: black
|
|
- repo: local
|
|
hooks:
|
|
- id: rustywind
|
|
name: rustywind Tailwind CSS class linter
|
|
language: node
|
|
additional_dependencies:
|
|
- rustywind@0.16.0
|
|
entry: rustywind
|
|
args: [ --write, templates ]
|
|
types_or: [ html ]
|