|
15 | 15 | import re |
16 | 16 | import sys |
17 | 17 | import getopt |
18 | | -import subprocess |
19 | 18 | from os.path import join, splitext, abspath, exists |
20 | 19 | from collections import defaultdict |
21 | 20 |
|
|
33 | 32 | 'autoexception', 'autofunction', 'automethod', 'automodule', 'centered', |
34 | 33 | 'cfunction', 'class', 'classmethod', 'cmacro', 'cmdoption', 'cmember', |
35 | 34 | 'code-block', 'confval', 'cssclass', 'ctype', 'currentmodule', 'cvar', |
36 | | - 'data', 'deprecated', 'describe', 'directive', 'doctest', 'envvar', 'event', |
| 35 | + 'data', 'deprecated-removed', 'deprecated(?!-removed)', 'describe', 'directive', |
| 36 | + 'doctest', 'envvar', 'event', |
37 | 37 | 'exception', 'function', 'glossary', 'highlight', 'highlightlang', 'index', |
38 | 38 | 'literalinclude', 'method', 'module', 'moduleauthor', 'productionlist', |
39 | 39 | 'program', 'role', 'sectionauthor', 'seealso', 'sourcecode', 'staticmethod', |
|
51 | 51 |
|
52 | 52 | checker_props = {'severity': 1, 'falsepositives': False} |
53 | 53 |
|
| 54 | + |
54 | 55 | def checker(*suffixes, **kwds): |
55 | 56 | """Decorator to register a function as a checker.""" |
56 | 57 | def deco(func): |
|
0 commit comments