1
0
mirror of https://github.com/craigerl/aprsd.git synced 2025-06-15 04:42:26 -04:00
aprsd/.pre-commit-config.yaml

42 lines
1.1 KiB
YAML
Raw Normal View History

repos:
2021-01-08 15:47:30 -05:00
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
2021-01-08 15:47:30 -05:00
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: detect-private-key
- id: check-merge-conflict
- id: check-case-conflict
- id: check-docstring-first
- id: check-builtin-literals
- id: check-illegal-windows-names
2021-01-08 15:47:30 -05:00
- repo: https://github.com/asottile/setup-cfg-fmt
rev: v2.5.0
2021-01-08 15:47:30 -05:00
hooks:
- id: setup-cfg-fmt
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.4
2021-01-08 15:47:30 -05:00
hooks:
- id: ruff
###### Relevant part below ######
- id: ruff
args: ["check", "--select", "I", "--fix"]
###### Relevant part above ######
- id: ruff-format
2025-01-03 12:29:31 -05:00
- repo: https://github.com/astral-sh/uv-pre-commit
# uv version.
rev: 0.5.11
hooks:
# Compile requirements
- id: pip-compile
name: pip-compile requirements.in
args: [requirements.in, -o, requirements.txt]
- id: pip-compile
name: pip-compile requirements-dev.in
args: [requirements-dev.in, -o, requirements-dev.txt]
files: ^requirements-dev\.(in|txt)$