| 123456789101112131415161718192021 | # Source: https://github.com/pytorch/torchx/blob/main/scripts/spellcheck.shset -exsudo apt-get install aspellif [[ -z "$@" ]]; then    sources=$(find -name '*.md')else    sources=$@fisources_arg=""for src in $sources; do        sources_arg="${sources_arg} -S $src"doneif [ ! "$sources_arg" ]; then	echo "No files to spellcheck"else	pyspelling -c ts_scripts/spellcheck_conf/spellcheck.yaml --name Markdown $sources_argfi
 |