Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfce0566

Browse files
committed
lint: Remove disabling step of literal blocks
1 parentb86b9c5 commitfce0566

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

‎scripts/lint.sh

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,10 @@ touch logs/sphinxlint.txt
2020

2121
cd cpython/Doc
2222

23-
# If version is 3.12 or newer, then generate POT disabling literal blocks and
24-
# update translations with fresh POT files. If version 3.11 or older,
25-
# disable new 'unnecessary-parentheses' check, not fixed before these versions.
23+
# If version 3.11 or older, disable new 'unnecessary-parentheses' check,
24+
# not fixed before 3.12.
2625
minor_version=$(git branch --show-current| sed's|^3\.||')
27-
if [$minor_version-ge 12 ];then
28-
make gettext SPHINXOPTS='-q -Dgettext_additional_targets=["index"]'
29-
sphinx-intl update -p build/gettext -l${PYDOC_LANGUAGE}> /dev/null
30-
else
26+
if [$minor_version-le 11 ];then
3127
alias sphinx-lint='sphinx-lint --disable unnecessary-parentheses'
3228
fi
3329

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp