yt-dlp/.pre-commit-config.yaml
bashonly 10f4b229de
Add separate pre-commit config for hatch
Authored by: bashonly
2024-05-12 11:21:46 -05:00

14 lines
267 B
YAML

repos:
- repo: local
hooks:
- id: linter
name: Apply linter fixes
entry: ruff check --fix .
language: system
types: [python]
- id: format
name: Apply formatting fixes
entry: autopep8 --in-place .
language: system
types: [python]