From: Julien Palard Date: Sat, 3 Jul 2021 08:35:02 +0000 (+0200) Subject: bpo-42238: rstlint: Add two new checks. (GH-26966) X-Git-Tag: v3.11.0a1~742 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=01331f1a3cf86fd308e9a134bb867bf01fb191f5;p=thirdparty%2FPython%2Fcpython.git bpo-42238: rstlint: Add two new checks. (GH-26966) --- diff --git a/Doc/tools/rstlint.py b/Doc/tools/rstlint.py index cbcb8eb801b1..c9bff80995bf 100755 --- a/Doc/tools/rstlint.py +++ b/Doc/tools/rstlint.py @@ -42,10 +42,89 @@ directives = [ 'versionchanged' ] -all_directives = '(' + '|'.join(directives) + ')' -seems_directive_re = re.compile(r'(?