Skip to content

Restore default role check in make check. #92290

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
May 15, 2022
5 changes: 3 additions & 2 deletions Doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,9 @@ dist:
rm dist/python-$(DISTVERSION)-docs-texinfo.tar

check:
$(SPHINXLINT) -i tools -i $(VENVDIR) -i README.rst
$(SPHINXLINT) ../Misc/NEWS.d/next/
# --severity=0 enables all checks, but we don't want to check for long lines
$(SPHINXLINT) -i tools -i $(VENVDIR) --severity=0 --disable='line too long'
$(SPHINXLINT) --severity=0 --disable='line too long' ../Misc/NEWS.d/next/

serve:
@echo "The serve target was removed, use htmlview instead (see bpo-36329)"
Expand Down
4 changes: 3 additions & 1 deletion Doc/make.bat
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,9 @@ if EXIST "%BUILDDIR%\html\index.html" (
goto end

:check
cmd /S /C "%SPHINXLINT% -i tools"
rem --severity=0 enables all checks, but we don't want to check for long lines
cmd /S /C "%SPHINXLINT% -i tools --severity=0 --disable='line too long'"
cmd /S /C "%SPHINXLINT% --severity=0 --disable='line too long' ..\Misc\NEWS.d\next\ "
goto end

:serve
Expand Down