1
mirror of https://github.com/yt-dlp/yt-dlp synced 2024-11-22 01:20:13 +01:00
yt-dlp/.pre-commit-config.yaml

15 lines
292 B
YAML
Raw Normal View History

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