1
Fork 0
mirror of https://github.com/wlinator/luminara.git synced 2024-10-02 16:23:12 +00:00
Lumi/.pre-commit-config.yaml

38 lines
806 B
YAML
Raw Normal View History

2024-07-17 11:47:26 +00:00
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: check-yaml
- id: sort-simple-yaml
files: settings.yaml
2024-07-17 11:47:26 +00:00
- id: check-json
- id: pretty-format-json
args: [--autofix]
2024-07-17 11:47:26 +00:00
- id: check-toml
- repo: https://github.com/asottile/add-trailing-comma
rev: v3.1.0
hooks:
- id: add-trailing-comma
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.2
hooks:
# Run the linter.
- id: ruff
args: [--fix]
2024-07-17 11:47:26 +00:00
# Run the formatter.
- id: ruff-format
- repo: https://github.com/gitleaks/gitleaks
rev: v8.18.4
hooks:
- id: gitleaks
- repo: https://github.com/asottile/pyupgrade
rev: v3.16.0
hooks:
- id: pyupgrade
2024-07-17 11:47:26 +00:00
exclude: ".archive/"