mirror of
https://github.com/simple-login/app.git
synced 2024-09-21 01:11:29 +02:00
* update djlint * reformat all files * update precommit version --------- Co-authored-by: Son NK <son@simplelogin.io>
24 lines
648 B
YAML
24 lines
648 B
YAML
exclude: "(migrations|static/node_modules|static/assets|static/vendor)"
|
|
default_language_version:
|
|
python: python3
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.2.0
|
|
hooks:
|
|
- id: check-yaml
|
|
- id: trailing-whitespace
|
|
- repo: https://github.com/Riverside-Healthcare/djLint
|
|
rev: v1.34.1
|
|
hooks:
|
|
- id: djlint-jinja
|
|
files: '.*\.html'
|
|
entry: djlint --reformat
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
# Ruff version.
|
|
rev: v0.1.5
|
|
hooks:
|
|
# Run the linter.
|
|
- id: ruff
|
|
args: [ --fix ]
|
|
# Run the formatter.
|
|
- id: ruff-format |