mirror of
https://github.com/Mintplex-Labs/pyannote-audio-legacy.git
synced 2026-07-01 20:24:10 -04:00
80634c9029
Co-authored-by: clement-pages <clement.pages@irit.fr>
41 lines
998 B
YAML
41 lines
998 B
YAML
exclude: '^docs/conf.py'
|
|
|
|
repos:
|
|
# # Clean Notebooks
|
|
# - repo: https://github.com/kynan/nbstripout
|
|
# rev: master
|
|
# hooks:
|
|
# - id: nbstripout
|
|
# Format Code
|
|
- repo: https://github.com/ambv/black
|
|
rev: 22.3.0
|
|
hooks:
|
|
- id: black
|
|
|
|
# Sort imports
|
|
- repo: https://github.com/PyCQA/isort
|
|
rev: 5.12.0
|
|
hooks:
|
|
- id: isort
|
|
args: ["--profile", "black"]
|
|
|
|
# Formatting, Whitespace, etc
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v2.2.3
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
- id: check-added-large-files
|
|
args: ['--maxkb=1000']
|
|
- id: check-ast
|
|
- id: check-json
|
|
- id: check-merge-conflict
|
|
- id: check-xml
|
|
- id: check-yaml
|
|
- id: debug-statements
|
|
- id: end-of-file-fixer
|
|
- id: requirements-txt-fixer
|
|
- id: mixed-line-ending
|
|
args: ['--fix=no']
|
|
- id: flake8
|
|
args: ['--ignore=E203,E501,F811,E712,W503']
|