diff options
author | Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com> | 2022-01-27 21:21:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-27 21:21:30 +0100 |
commit | 3496e06573006563f144876ea4814b94a6f381e3 (patch) | |
tree | 3b3c0275c9e632386dcc76b2330ae47e3c65fd1f /doc/exts | |
parent | 8ad121fc439162773cc6d9f8860d13913b08f822 (diff) | |
download | pylint-git-3496e06573006563f144876ea4814b94a6f381e3.tar.gz |
Remove the ``check_docs`` extension and remove any references to it (#5730)
Diffstat (limited to 'doc/exts')
-rwxr-xr-x | doc/exts/pylint_extensions.py | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/doc/exts/pylint_extensions.py b/doc/exts/pylint_extensions.py index 31678735d..2d1e91948 100755 --- a/doc/exts/pylint_extensions.py +++ b/doc/exts/pylint_extensions.py @@ -14,13 +14,6 @@ from pylint.constants import MAIN_CHECKER_NAME from pylint.lint import PyLinter from pylint.utils import get_rst_title -# Some modules have been renamed and deprecated under their old names. -# Skip documenting these modules since: -# 1) They are deprecated, why document them moving forward? -# 2) We can't load the deprecated module and the newly renamed module at the -# same time without getting naming conflicts -DEPRECATED_MODULES = ["check_docs"] # ==> docparams - def builder_inited(app): """Output full documentation in ReST format for all extension modules""" @@ -34,7 +27,7 @@ def builder_inited(app): doc_files = {} for filename in os.listdir(ext_path): name, ext = os.path.splitext(filename) - if name[0] == "_" or name in DEPRECATED_MODULES: + if name[0] == "_": continue if ext == ".py": modules.append(f"pylint.extensions.{name}") |