summaryrefslogtreecommitdiff
path: root/doc/exts
diff options
context:
space:
mode:
authorDaniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>2022-05-23 15:36:55 +0200
committerGitHub <noreply@github.com>2022-05-23 15:36:55 +0200
commitb4f5c4482e37045d75188bc3087196a70cdbe575 (patch)
tree7f40ea54768d6725735ccc6155baeffd387a59f0 /doc/exts
parentff510c8d953e67bf57a2f49914257974a6d45712 (diff)
downloadpylint-git-b4f5c4482e37045d75188bc3087196a70cdbe575.tar.gz
Some initial line wrapping of docstrings (#6672)
Diffstat (limited to 'doc/exts')
-rwxr-xr-xdoc/exts/pylint_features.py4
-rw-r--r--doc/exts/pylint_messages.py4
2 files changed, 5 insertions, 3 deletions
diff --git a/doc/exts/pylint_features.py b/doc/exts/pylint_features.py
index ad0aa4a13..097577c29 100755
--- a/doc/exts/pylint_features.py
+++ b/doc/exts/pylint_features.py
@@ -4,7 +4,9 @@
# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt
-"""Script used to generate the features file before building the actual documentation."""
+"""Script used to generate the features file before building the actual
+documentation.
+"""
import os
from typing import Optional
diff --git a/doc/exts/pylint_messages.py b/doc/exts/pylint_messages.py
index 77dd2fa12..e04c60ded 100644
--- a/doc/exts/pylint_messages.py
+++ b/doc/exts/pylint_messages.py
@@ -109,8 +109,8 @@ def _get_message_data(data_path: Path) -> Tuple[str, str, str, str]:
def _get_all_messages(
linter: PyLinter,
) -> Tuple[MessagesDict, OldMessagesDict]:
- """Get all messages registered to a linter and return a dictionary indexed by message
- type.
+ """Get all messages registered to a linter and return a dictionary indexed by
+ message type.
Also return a dictionary of old message and the new messages they can be mapped to.
"""