mirror of
https://github.com/kyutai-labs/delayed-streams-modeling.git
synced 2025-12-22 19:09:57 +00:00
26 lines
672 B
YAML
26 lines
672 B
YAML
repos:
|
|
- repo: local
|
|
hooks:
|
|
- id: ruff
|
|
name: ruff
|
|
language: system
|
|
entry: bash -c 'uvx ruff check'
|
|
pass_filenames: false
|
|
always_run: true
|
|
- id: ruff-format
|
|
name: ruff format
|
|
language: system
|
|
entry: bash -c 'uvx ruff format --check'
|
|
pass_filenames: false
|
|
always_run: true
|
|
# Get rid of Jupyter Notebook output because we don't want to keep it in Git
|
|
- repo: https://github.com/kynan/nbstripout
|
|
rev: 0.8.1
|
|
hooks:
|
|
- id: nbstripout
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v5.0.0
|
|
hooks:
|
|
- id: check-added-large-files
|
|
args: ["--maxkb=2048"]
|