Skip to content

Commit

Permalink
Temporarily ignore spelling of Eletronic -> Electronic until correcte…
Browse files Browse the repository at this point in the history
…d upstream
  • Loading branch information
peternewman committed Sep 23, 2018
1 parent 7a65296 commit 00ee599
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions .codespellignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
(0x00B9, "Guangzhou Baiyun District Sanjie Eletronic Stage Lighting Audio Equipment Factory"),
(0x01B2, "DJSI Schinstad ANS (Northern Light)"),
(0x01CF, "SRM Technik GmbH"),
(0x030F, "Guangzhou Litewise Lighting Equipments Co., Ltd. dba \"EK Lights\""),
Expand Down
7 changes: 5 additions & 2 deletions .travis-ci.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/bin/bash


PYCHECKER_BLACKLIST=""
#threading,unittest,cmd,optparse,google,google.protobuf,ssl,fftpack,lapack_lite,mtrand

Expand Down Expand Up @@ -33,12 +32,16 @@ elif [[ $TASK = 'spellintian' ]]; then
spellingerrors=$(zrun spellintian $spellingfiles 2>&1 | \
grep -v "./README.md: Tasks Tasks (duplicate word)" | \
grep -v "./model.py: label label (duplicate word)" | \
grep -v "./data/manufacturer_data.py: Eletronic -> Electronic" | \
grep -v "./.travis-ci.sh: Eletronic -> Electronic" | \
wc -l)
if [[ $spellingerrors -ne 0 ]]; then
# print the output for info
zrun spellintian $spellingfiles 2>&1 | \
grep -v "./README.md: Tasks Tasks (duplicate word)" | \
grep -v "./model.py: label label (duplicate word)"
grep -v "./model.py: label label (duplicate word)" | \
grep -v "./data/manufacturer_data.py: Eletronic -> Electronic" | \
grep -v "./.travis-ci.sh: Eletronic -> Electronic"
echo "Found $spellingerrors spelling errors"
exit 1;
else
Expand Down

0 comments on commit 00ee599

Please sign in to comment.