summaryrefslogtreecommitdiff
path: root/pylint/message
diff options
context:
space:
mode:
authorDaniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>2022-01-02 23:21:23 +0100
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2022-01-02 23:52:24 +0100
commitfffde57ac06ace43d74a04f799fabe1724d83ace (patch)
treebd14fe27bb389dd85ac12da6d564f56629411558 /pylint/message
parent15c8825eeb4c7546f2c8e5c5a044e0f25fc9d4e6 (diff)
downloadpylint-git-fffde57ac06ace43d74a04f799fabe1724d83ace.tar.gz
Format docstrings with ``pydocstringformatter``
Diffstat (limited to 'pylint/message')
-rw-r--r--pylint/message/message_id_store.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/pylint/message/message_id_store.py b/pylint/message/message_id_store.py
index a16d12bfe..c4d1f4e8f 100644
--- a/pylint/message/message_id_store.py
+++ b/pylint/message/message_id_store.py
@@ -52,7 +52,8 @@ class MessageIdStore:
"""Add valid message id.
There is a little duplication with add_legacy_msgid_and_symbol to avoid a function call,
- this is called a lot at initialization."""
+ this is called a lot at initialization.
+ """
self.__msgid_to_symbol[msgid] = symbol
self.__symbol_to_msgid[symbol] = msgid
@@ -62,7 +63,8 @@ class MessageIdStore:
"""Add valid legacy message id.
There is a little duplication with add_msgid_and_symbol to avoid a function call,
- this is called a lot at initialization."""
+ this is called a lot at initialization.
+ """
self.__msgid_to_symbol[msgid] = symbol
self.__symbol_to_msgid[symbol] = msgid
existing_old_names = self.__old_names.get(msgid, [])