From 8cb3e75a015e1a7a39d9d2d3196076be777085fb Mon Sep 17 00:00:00 2001 From: HuangWeiCen <37464327+HuangWeiCen@users.noreply.github.com> Date: Thu, 20 Jan 2022 11:29:37 +0800 Subject: [PATCH] update ci --- scspell.py | 9 +++++++-- spelling_dict.txt | 1 + 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/scspell.py b/scspell.py index 99bfb60355..50e89b8d1f 100644 --- a/scspell.py +++ b/scspell.py @@ -17,5 +17,10 @@ def get_all_folders_containing_go_files(path): get_all_folders_containing_go_files(sys.argv[1]) -d = os.system("scspell --use-builtin-base-dict --override-dictionary ./spelling_dict.txt --report-only " + "/*.go ".join(scspell_dir) + "/*.go") -print(d) +d = os.system( + "scspell --use-builtin-base-dict --override-dictionary ./spelling_dict.txt --report-only " + "/*.go ".join( + scspell_dir) + "/*.go") +if d != 0: + raise ValueError(d) +else: + print(d) diff --git a/spelling_dict.txt b/spelling_dict.txt index b206131731..8b2895639d 100644 --- a/spelling_dict.txt +++ b/spelling_dict.txt @@ -3,6 +3,7 @@ aaaaaaaaaabbbbbbbbbbccccccccccddddddddddeeeeeeeeeeffffffffffabcd aaaaaaaaaabbbbbbbbbbccccccccccddddddddddeeeeeeeeeeffffffffffabcde abcdefghijklmnopqrstuvwxyz actiontech +oversized adaptor agiledragon alecthomas