mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-18 01:35:12 +00:00
15 lines
292 B
YAML
15 lines
292 B
YAML
|
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]
|