mirror of
https://github.com/allthingslinux/tux.git
synced 2024-10-03 00:53:12 +00:00
27 lines
591 B
YAML
27 lines
591 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.6.0
|
|
hooks:
|
|
- id: check-yaml
|
|
- id: check-json
|
|
- 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.7
|
|
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
|
|
exclude: ".archive/"
|