mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-08 17:42:21 +00:00
Modify init (#301)
* 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.
This commit is contained in:
parent
78b8792d1d
commit
08473a17aa
@ -4,6 +4,8 @@ repos:
|
||||
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
|
||||
|
@ -1,3 +1,13 @@
|
||||
# isort:skip_file
|
||||
|
||||
from . import (
|
||||
checkpoint,
|
||||
decode,
|
||||
dist,
|
||||
env,
|
||||
utils
|
||||
)
|
||||
|
||||
from .checkpoint import (
|
||||
average_checkpoints,
|
||||
find_checkpoints,
|
||||
|
@ -10,4 +10,5 @@ exclude = '''
|
||||
| \.github
|
||||
)/
|
||||
| make_kn_lm.py
|
||||
| icefall\/__init__\.py
|
||||
'''
|
||||
|
Loading…
x
Reference in New Issue
Block a user