Files
sigal/.pre-commit-config.yaml

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

24 lines
582 B
YAML
Raw Permalink Normal View History

2021-07-06 22:44:19 +02:00
repos:
2022-11-23 22:20:41 +01:00
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
2022-11-23 22:20:41 +01:00
hooks:
2021-07-06 22:44:19 +02:00
- id: check-added-large-files
2023-06-03 17:40:32 +02:00
- id: check-merge-conflict
- id: check-yaml
2021-07-06 22:44:19 +02:00
- id: end-of-file-fixer
2022-01-14 18:25:38 +01:00
exclude: ".*(galleria|photoswipe|jquery|leaflet).*$"
2023-06-03 17:40:32 +02:00
- id: trailing-whitespace
exclude: ".*(galleria|photoswipe|jquery|leaflet).*$"
2022-11-23 22:20:41 +01:00
- repo: https://github.com/psf/black
rev: 23.11.0
2022-11-23 22:20:41 +01:00
hooks:
- id: black
2023-02-14 22:09:04 +01:00
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.1.4
2022-11-23 22:20:41 +01:00
hooks:
2023-02-14 22:09:04 +01:00
- id: ruff
2023-06-03 17:40:32 +02:00
args: [ --fix, --show-fixes, --exit-non-zero-on-fix ]