1
Fork 0
mirror of https://github.com/allthingslinux/tux.git synced 2024-10-02 16:43:12 +00:00
tux/.pre-commit-config.yaml
kzndotsh 104db94d41 chore(.pre-commit-config.yaml): comment out pyright-python hook due to compatibility issues
refactor(.pre-commit-config.yaml): change exclude path from /stubs to /typings for better directory naming
2024-08-31 17:44:28 +00:00

38 lines
820 B
YAML

repos:
- repo: https://github.com/gitleaks/gitleaks
rev: v8.18.4
hooks:
- id: gitleaks
- 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/astral-sh/ruff-pre-commit
rev: v0.6.2
hooks:
# Run the linter.
- id: ruff
args: [--fix]
# Run the formatter.
- id: ruff-format
- repo: https://github.com/asottile/add-trailing-comma
rev: v3.1.0
hooks:
- id: add-trailing-comma
- repo: https://github.com/asottile/pyupgrade
rev: v3.17.0
hooks:
- id: pyupgrade
# - repo: https://github.com/RobertCraigie/pyright-python
# rev: v1.1.378
# hooks:
# - id: pyright
exclude: '(^\.archive|/typings)/'