mirror of
https://github.com/craigerl/aprsd.git
synced 2025-06-13 20:02:26 -04:00
This patch changes to the ruff linter. SO MUCH quicker. Removed grey and mypy as well.
29 lines
708 B
YAML
29 lines
708 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v5.0.0
|
|
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
|
|
|
|
- repo: https://github.com/asottile/setup-cfg-fmt
|
|
rev: v2.5.0
|
|
hooks:
|
|
- id: setup-cfg-fmt
|
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.8.4
|
|
hooks:
|
|
- id: ruff
|
|
###### Relevant part below ######
|
|
- id: ruff
|
|
args: ["check", "--select", "I", "--fix"]
|
|
###### Relevant part above ######
|
|
- id: ruff-format
|