exclude black check for icefall/__init__.py in pyproject.toml.

This commit is contained in:
yaozengwei 2022-04-08 16:59:21 +08:00
parent 2c76ea7f9e
commit 549826bff8
3 changed files with 4 additions and 0 deletions

View File

@ -4,6 +4,8 @@ repos:
hooks: hooks:
- id: black - id: black
args: [--line-length=80] args: [--line-length=80]
additional_dependencies: ['click==8.0.1']
exclude: icefall\/__init__\.py
- repo: https://github.com/PyCQA/flake8 - repo: https://github.com/PyCQA/flake8
rev: 3.9.2 rev: 3.9.2

View File

@ -1,4 +1,5 @@
# isort:skip_file # isort:skip_file
from . import ( from . import (
checkpoint, checkpoint,
decode, decode,

View File

@ -10,4 +10,5 @@ exclude = '''
| \.github | \.github
)/ )/
| make_kn_lm.py | make_kn_lm.py
| icefall\/__init__\.py
''' '''