Skip to content

Commit

Permalink
Add check-spelling/check-spelling
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
  • Loading branch information
jsoref committed Nov 11, 2020
1 parent 3af1651 commit 706a726
Show file tree
Hide file tree
Showing 4 changed files with 5,622 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/actions/spelling/excludes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/license\.txt$
/parquet_partitioned/
/src/test/resources/
/stopwords/
ignore$
LICENSE
NOTICE
\.crc$
\.jar$
\.jpg$
\.json$
\.min\.
\.parquet$
\.png$
\.pptx$
\.zip$
^data/graphx/users\.txt$
^data/streaming/AFINN-111\.txt$
^dev/create-release/known_translations$
^dev/merge_spark_pr\.py$
^\.github/
Loading

1 comment on commit 706a726

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Misspellings found, please review:

  • accross
  • accumlated
  • acutal
  • Adress
  • againt
  • annonymous
  • antecendent
  • anternative
  • Apdaptive
  • argorithms
  • aruments
  • attemp
  • attrbute
  • Attribtue
  • attribure
  • avaiable
  • avoud
  • baloon
  • baskslash
  • Batchs
  • begininng
  • behaivor
  • Binarys
  • bottem
  • Broadcst
  • Caleandar
  • calenderinterval
  • calssification
  • canoncalize
  • capatures
  • cary
  • catlog
  • charecters
  • Checkpointof
  • chkpoint
  • claime
  • classess
  • Classfor
  • cloudpicke
  • Cloudpickler
  • cloumn
  • Cloumntable
  • Codegend
  • colelction
  • colum
  • Columar
  • combinatiion
  • cominations
  • comming
  • commmands
  • Commmon
  • Compatiblity
  • compliation
  • Compoenents
  • componenet
  • concatanating
  • concatentates
  • condfidence
  • Conditon
  • Conection
  • configruations
  • configued
  • conjuntion
  • connecion
  • constains
  • containt
  • coompress
  • corresonding
  • corrseponding
  • countious
  • coverting
  • cryto
  • cummulative
  • datasouce
  • decription
  • deivance
  • depands
  • depenencies
  • Desciption
  • Descripition
  • desribed
  • determinstic
  • detials
  • dintinct
  • directoy
  • Disocvery
  • displyed
  • distingush
  • distpatch
  • doens't
  • does't
  • donot
  • dyanmic
  • dynaamic
  • eagerily
  • enbled
  • environemnt
  • epxr
  • Evaulate
  • everthing
  • Excecution
  • Exclustion
  • exection
  • exepected
  • Exeption
  • expecte
  • explans
  • Expresion
  • Extenal
  • failes
  • fallbacking
  • fisrt
  • forgetfullness
  • Frquency
  • frunctuation
  • funcation
  • gloabl
  • grouby
  • Grouing
  • groupped
  • groupping
  • guages
  • hanlde
  • heursitic
  • higest
  • hte
  • impuriy
  • imutable
  • indicies
  • indx
  • inidividual
  • inseration
  • intepreter
  • interpet
  • intialized
  • intitial
  • Invokation
  • jarr
  • joinn
  • lefi
  • lifecyle
  • listner
  • litteral
  • Loaction
  • locahost
  • locatoin
  • loghat
  • mananger
  • manged
  • matchs
  • maxtrix
  • mayebe
  • Melo
  • Mercurry
  • Mesage
  • mestastore
  • Micors
  • milis
  • millseconds
  • MINITUES
  • mistatched
  • multipler
  • mutiple
  • mutli
  • namspace
  • nonexisttable
  • nubmers
  • nullabilty
  • nullablity
  • nullalbe
  • NUTURAL
  • objec
  • occured
  • oder
  • Offest
  • opeator
  • operaror
  • optimzie
  • Othewise
  • ouput
  • overriden
  • parallalize
  • parallism
  • paramaters
  • Parenttate
  • Parition
  • paritioning
  • Parititions
  • parittioner
  • Parm
  • parmeter
  • partail
  • Partion
  • PARTITITONS
  • partiton
  • Partitoning
  • Patttern
  • pesistent
  • postiton
  • preceeded
  • precentage
  • preffered
  • premption
  • prempts
  • procsssing
  • progess
  • propert
  • Provier
  • pycahrm
  • querys
  • Queryxecution
  • ranages
  • randomnly
  • Rece
  • Recieve
  • recontruct
  • reorderd
  • Repalce
  • repositry
  • respresentation
  • resuses
  • rewrited
  • Rollbacked
  • Saprk
  • Scahem
  • Searator
  • Seires
  • Selectorr
  • seperate
  • sequenctial
  • sequncefile
  • serializesa
  • shoud
  • shuffe
  • simplifing
  • SPAKR
  • speficied
  • SRARK
  • srch
  • Stategy
  • STERAM
  • strean
  • sturct
  • subcriber
  • subexrepssion
  • sublassing
  • subqueris
  • subquries
  • SUCCEDED
  • Suceeded
  • supress
  • surplis
  • synchonize
  • tempory
  • termiated
  • thei
  • Thift
  • TMEPORARY
  • tne
  • toogle
  • Topolgy
  • tracke
  • Transcational
  • transfered
  • transivite
  • Trigered
  • trimed
  • UKNOWN
  • Unigned
  • unkwon
  • unmodifed
  • unnessary
  • Unreconigzed
  • Uplading
  • uploded
  • uppper
  • vaidate
  • varaince
  • Visable
  • visted
  • warining
  • Whaen
  • Wheather
  • whthere
  • witout
  • writen
  • wrriten
  • yhe
To accept these changes, run the following commands
perl -e '
my @expect_files=qw('".github/actions/spelling/expect.txt"');
@ARGV=@expect_files;
my @stale=qw('"calendarinterval Columntable nonexistenttable "');
my $re=join "|", @stale;
my $suffix=".".time();
my $previous="";
sub maybe_unlink { unlink($_[0]) if $_[0]; }
while (<>) {
  if ($ARGV ne $old_argv) { maybe_unlink($previous); $previous="$ARGV$suffix"; rename($ARGV, $previous); open(ARGV_OUT, ">$ARGV"); select(ARGV_OUT); $old_argv = $ARGV; }
  next if /^(?:$re)(?:(?:\r|\n)*$| .*)/; print;
}; maybe_unlink($previous);'
perl -e '
my $new_expect_file=".github/actions/spelling/expect.txt";
use File::Path qw(make_path);
make_path ".github/actions/spelling";
open FILE, q{<}, $new_expect_file; chomp(my @words = <FILE>); close FILE;
my @add=qw('"accross accumlated acutal Adress againt annonymous antecendent anternative Apdaptive argorithms aruments attemp attrbute Attribtue attribure avaiable avoud baloon baskslash Batchs begininng behaivor Binarys bottem Broadcst Caleandar calenderinterval calssification canoncalize capatures cary catlog charecters Checkpointof chkpoint claime classess Classfor cloudpicke Cloudpickler cloumn Cloumntable Codegend colelction colum Columar combinatiion cominations comming commmands Commmon Compatiblity compliation Compoenents componenet concatanating concatentates condfidence Conditon Conection configruations configued conjuntion connecion constains containt coompress corresonding corrseponding countious coverting cryto cummulative datasouce decription deivance depands depenencies Desciption Descripition desribed determinstic detials dintinct directoy Disocvery displyed distingush distpatch doens't does't donot dyanmic dynaamic eagerily enbled environemnt epxr Evaulate everthing Excecution Exclustion exection exepected Exeption expecte explans Expresion Extenal failes fallbacking fisrt forgetfullness Frquency frunctuation funcation gloabl grouby Grouing groupped groupping guages hanlde heursitic higest hte impuriy imutable indicies indx inidividual inseration intepreter interpet intialized intitial Invokation jarr joinn lefi lifecyle listner litteral Loaction locahost locatoin loghat mananger manged matchs maxtrix mayebe Melo Mercurry Mesage mestastore Micors milis millseconds MINITUES mistatched multipler mutiple mutli namspace nonexisttable nubmers nullabilty nullablity nullalbe NUTURAL objec occured oder Offest opeator operaror optimzie Othewise ouput overriden parallalize parallism paramaters Parenttate Parition paritioning Parititions parittioner Parm parmeter partail Partion PARTITITONS partiton Partitoning Patttern pesistent postiton preceeded precentage preffered premption prempts procsssing progess propert Provier pycahrm querys Queryxecution ranages randomnly Rece Recieve recontruct reorderd Repalce repositry respresentation resuses rewrited Rollbacked Saprk Scahem Searator Seires Selectorr seperate sequenctial sequncefile serializesa shoud shuffe simplifing SPAKR speficied SRARK srch Stategy STERAM strean sturct subcriber subexrepssion sublassing subqueris subquries SUCCEDED Suceeded supress surplis synchonize tempory termiated thei Thift TMEPORARY tne toogle Topolgy tracke Transcational transfered transivite Trigered trimed UKNOWN Unigned unkwon unmodifed unnessary Unreconigzed Uplading uploded uppper vaidate varaince Visable visted warining Whaen Wheather whthere witout writen wrriten yhe "');
my %items; @items{@words} = @words x (1); @items{@add} = @add x (1);
@words = sort {lc($a) cmp lc($b)} keys %items;
open FILE, q{>}, $new_expect_file; for my $word (@words) { print FILE "$word\n" if $word =~ /\w/; };
close FILE;'

Please sign in to comment.