Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
HuangWeiCen committed Jan 20, 2022
1 parent 6391171 commit 8cb3e75
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
9 changes: 7 additions & 2 deletions scspell.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
1 change: 1 addition & 0 deletions spelling_dict.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ aaaaaaaaaabbbbbbbbbbccccccccccddddddddddeeeeeeeeeeffffffffffabcd
aaaaaaaaaabbbbbbbbbbccccccccccddddddddddeeeeeeeeeeffffffffffabcde
abcdefghijklmnopqrstuvwxyz
actiontech
oversized
adaptor
agiledragon
alecthomas
Expand Down

0 comments on commit 8cb3e75

Please sign in to comment.