mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-08 09:32:20 +00:00
* update icefall/__init__.py to import more common functions. * update icefall/__init__.py * make imports style consistent. * exclude black check for icefall/__init__.py in pyproject.toml.
29 lines
695 B
YAML
29 lines
695 B
YAML
repos:
|
|
- repo: https://github.com/psf/black
|
|
rev: 21.6b0
|
|
hooks:
|
|
- id: black
|
|
args: [--line-length=80]
|
|
additional_dependencies: ['click==8.0.1']
|
|
exclude: icefall\/__init__\.py
|
|
|
|
- repo: https://github.com/PyCQA/flake8
|
|
rev: 3.9.2
|
|
hooks:
|
|
- id: flake8
|
|
args: [--max-line-length=80]
|
|
|
|
- repo: https://github.com/pycqa/isort
|
|
rev: 5.9.2
|
|
hooks:
|
|
- id: isort
|
|
args: [--profile=black, --line-length=80]
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.0.1
|
|
hooks:
|
|
- id: check-executables-have-shebangs
|
|
- id: end-of-file-fixer
|
|
- id: mixed-line-ending
|
|
- id: trailing-whitespace
|