mirror of
https://github.com/wlinator/luminara.git
synced 2024-10-02 18:23:12 +00:00
42 lines
906 B
YAML
42 lines
906 B
YAML
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
|
|
- id: check-json
|
|
- id: pretty-format-json
|
|
args: [--autofix]
|
|
- 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]
|
|
# Run the formatter.
|
|
- id: ruff-format
|
|
|
|
- repo: https://github.com/gitleaks/gitleaks
|
|
rev: v8.18.4
|
|
hooks:
|
|
- id: gitleaks
|
|
|
|
- repo: https://github.com/hija/clean-dotenv
|
|
rev: v0.0.7
|
|
hooks:
|
|
- id: clean-dotenv
|
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
|
rev: v3.16.0
|
|
hooks:
|
|
- id: pyupgrade
|
|
|
|
exclude: ".archive/"
|