Skip to content
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

Restore default role check in make check. #92290

Merged
merged 11 commits into from
May 15, 2022
Prev Previous commit
Next Next commit
Add a comment explaining the extra options.
  • Loading branch information
ezio-melotti committed May 4, 2022
commit 57fdf911f06b7a9c92f14045538923238343fc73
1 change: 1 addition & 0 deletions Doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ dist:
rm dist/python-$(DISTVERSION)-docs-texinfo.tar

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

Expand Down
1 change: 1 addition & 0 deletions Doc/make.bat
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ if EXIST "%BUILDDIR%\html\index.html" (
goto end

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