diff options
author | Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com> | 2022-02-10 19:30:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-10 19:30:15 +0100 |
commit | 595ec422d6f9bd32f42c356d2f316ec69e0f7bee (patch) | |
tree | 766a12ddd91b43e09f670f913a4069bc7dc82d57 /doc/exts | |
parent | e3d5deca2886d9e2d5f2be2a252e39e02ae42b96 (diff) | |
download | pylint-git-595ec422d6f9bd32f42c356d2f316ec69e0f7bee.tar.gz |
Update ``pydocstringformatter`` to 0.4.0 (#5787)
Diffstat (limited to 'doc/exts')
-rwxr-xr-x | doc/exts/pylint_extensions.py | 2 | ||||
-rw-r--r-- | doc/exts/pylint_messages.py | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/exts/pylint_extensions.py b/doc/exts/pylint_extensions.py index 2d1e91948..d8f8dfeca 100755 --- a/doc/exts/pylint_extensions.py +++ b/doc/exts/pylint_extensions.py @@ -16,7 +16,7 @@ from pylint.utils import get_rst_title def builder_inited(app): - """Output full documentation in ReST format for all extension modules""" + """Output full documentation in ReST format for all extension modules.""" # PACKAGE/docs/exts/pylint_extensions.py --> PACKAGE/ base_path = os.path.dirname( os.path.dirname(os.path.dirname(os.path.abspath(__file__))) diff --git a/doc/exts/pylint_messages.py b/doc/exts/pylint_messages.py index 32541788f..1ca3bdb88 100644 --- a/doc/exts/pylint_messages.py +++ b/doc/exts/pylint_messages.py @@ -18,10 +18,10 @@ from pylint.message import MessageDefinition from pylint.utils import get_rst_title PYLINT_BASE_PATH = Path(__file__).resolve().parent.parent.parent -"""Base path to the project folder""" +"""Base path to the project folder.""" PYLINT_MESSAGES_PATH = PYLINT_BASE_PATH / "doc" / "messages" -"""Path to the messages documentation folder""" +"""Path to the messages documentation folder.""" MSG_TYPES_DOC = {k: v if v != "info" else "information" for k, v in MSG_TYPES.items()} @@ -218,7 +218,7 @@ def build_messages_pages(app: Optional[Sphinx]) -> None: def setup(app: Sphinx) -> None: - """Connects the extension to the Sphinx process""" + """Connects the extension to the Sphinx process.""" # Register callback at the builder-inited Sphinx event # See https://www.sphinx-doc.org/en/master/extdev/appapi.html app.connect("builder-inited", build_messages_pages) |