Skip to content

Commit 2c0f132

Browse files
authored
lint: silence output of make gettext
1 parent 001f030 commit 2c0f132

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/lint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ cd cpython/Doc
2222

2323
# If version is 3.12 or newer, then disable literal-block, generate POT and
2424
# update translations with fresh POT files. If version 3.11 or older,
25-
# disable new 'unnecessary-parentheses' check, not fix before these versions.
25+
# disable new 'unnecessary-parentheses' check, not fixed before these versions.
2626
minor_version=$(git branch --show-current | sed 's|^3\.||')
2727
if [ $minor_version -ge 12 ]; then
2828
sed -i "/^\s*'literal-block',/s/ '/ #'/" conf.py
29-
make gettext
29+
make gettext SPHINXOPTS='-q'
3030
sphinx-intl update -p build/gettext -l ${PYDOC_LANGUAGE} > /dev/null
3131
else
3232
alias sphinx-lint='sphinx-lint --disable unnecessary-parentheses'

0 commit comments

Comments
 (0)