mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-04 14:44:18 +00:00
exclude black check for icefall/__init__.py in pyproject.toml.
This commit is contained in:
parent
2c76ea7f9e
commit
549826bff8
@ -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
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# isort:skip_file
|
# isort:skip_file
|
||||||
|
|
||||||
from . import (
|
from . import (
|
||||||
checkpoint,
|
checkpoint,
|
||||||
decode,
|
decode,
|
||||||
|
@ -10,4 +10,5 @@ exclude = '''
|
|||||||
| \.github
|
| \.github
|
||||||
)/
|
)/
|
||||||
| make_kn_lm.py
|
| make_kn_lm.py
|
||||||
|
| icefall\/__init__\.py
|
||||||
'''
|
'''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user