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 001f030 commit 2c0f132Copy full SHA for 2c0f132
scripts/lint.sh
@@ -22,11 +22,11 @@ cd cpython/Doc
22
23
# If version is 3.12 or newer, then disable literal-block, generate POT and
24
# update translations with fresh POT files. If version 3.11 or older,
25
-# disable new 'unnecessary-parentheses' check, not fix before these versions.
+# disable new 'unnecessary-parentheses' check, not fixed before these versions.
26
minor_version=$(git branch --show-current | sed 's|^3\.||')
27
if [ $minor_version -ge 12 ]; then
28
sed -i "/^\s*'literal-block',/s/ '/ #'/" conf.py
29
- make gettext
+ make gettext SPHINXOPTS='-q'
30
sphinx-intl update -p build/gettext -l ${PYDOC_LANGUAGE} > /dev/null
31
else
32
alias sphinx-lint='sphinx-lint --disable unnecessary-parentheses'
0 commit comments