From bcc117879a33b56f9951a3b39f3645d527d0d211 Mon Sep 17 00:00:00 2001 From: PingFeng Luo Date: Fri, 31 Dec 2021 19:24:35 +0800 Subject: [PATCH] fix flake8 conflict --- egs/wenetspeech/ASR/local/text2token.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/egs/wenetspeech/ASR/local/text2token.py b/egs/wenetspeech/ASR/local/text2token.py index cd0973727..8f8c433bf 100755 --- a/egs/wenetspeech/ASR/local/text2token.py +++ b/egs/wenetspeech/ASR/local/text2token.py @@ -89,7 +89,7 @@ def main(): while line: x = line.split() print(" ".join(x[: args.skip_ncols]), end=" ") - a = " ".join(x[args.skip_ncols:]) + a = " ".join(x[args.skip_ncols :]) # get all matched positions match_pos = [] @@ -119,7 +119,7 @@ def main(): i += 1 a = chars - a = [a[j: j + n] for j in range(0, len(a), n)] + a = [a[j : j + n] for j in range(0, len(a), n)] a_flat = [] for z in a: