We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90fb5fa commit 67f313dCopy full SHA for 67f313d
.github/workflows/check.yml
@@ -231,15 +231,16 @@ jobs:
231
232
# Run a per-directory, group-separated spellcheck
233
- name: Check spelling
234
- working-directory: cpython/Doc/locales/pt_BR/LC_MESSAGES
235
continue-on-error: true
236
run: |
237
- wd=$PWD
+ check_spell=$PWD/scripts/check_spell.py
+ langdir=$PWD/cpython/Doc/locales/pt_BR/LC_MESSAGES
238
+ cd $langdir
239
dirs=". $(find * -type d | sort)"
240
for dir in $dirs; do
241
echo "::group::{$dir}"
- cd $wd/$dir
242
+ cd $langdir/$dir
243
po_files=$(find -maxdepth 1 -name '*.po' | sort)
- python ../../../../../scripts/check_spell.py $po_files || :
244
+ python $check_spell $po_files || :
245
echo "::endgroup::"
246
done
0 commit comments