icefall/.flake8
Mingshuang Luo ec5a112831
[Ready to merge] Do some coding style checks for the latest files (#379)
* style check

* do changes for .flake8

* a change for compute_fbank_yesno.py
2022-05-20 19:30:38 +08:00

21 lines
473 B
INI

[flake8]
show-source=true
statistics=true
max-line-length = 80
per-file-ignores =
# line too long
icefall/diagnostics.py: E501
egs/*/ASR/*/conformer.py: E501,
egs/*/ASR/pruned_transducer_stateless*/*.py: E501,
egs/*/ASR/*/optim.py: E501,
egs/*/ASR/*/scaling.py: E501,
# invalid escape sequence (cause by tex formular), W605
icefall/utils.py: E501, W605
exclude =
.git,
**/data/**,
icefall/shared/make_kn_lm.py,
icefall/__init__.py