summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorDaniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>2022-02-10 19:30:15 +0100
committerGitHub <noreply@github.com>2022-02-10 19:30:15 +0100
commit595ec422d6f9bd32f42c356d2f316ec69e0f7bee (patch)
tree766a12ddd91b43e09f670f913a4069bc7dc82d57 /script
parente3d5deca2886d9e2d5f2be2a252e39e02ae42b96 (diff)
downloadpylint-git-595ec422d6f9bd32f42c356d2f316ec69e0f7bee.tar.gz
Update ``pydocstringformatter`` to 0.4.0 (#5787)
Diffstat (limited to 'script')
-rw-r--r--script/fix_documentation.py2
-rw-r--r--script/get_unused_message_id_category.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/script/fix_documentation.py b/script/fix_documentation.py
index 36fd931f0..0fc4e347e 100644
--- a/script/fix_documentation.py
+++ b/script/fix_documentation.py
@@ -23,7 +23,7 @@ def fix_inline_code_blocks(file_content: str) -> str:
def changelog_insert_empty_lines(file_content: str, subtitle_text: str) -> str:
- """Insert up to two empty lines before `What's New` entry in ChangeLog"""
+ """Insert up to two empty lines before `What's New` entry in ChangeLog."""
lines = file_content.split("\n")
subtitle_count = 0
for i, line in enumerate(lines):
diff --git a/script/get_unused_message_id_category.py b/script/get_unused_message_id_category.py
index 5ddcd0b3c..2741148c0 100644
--- a/script/get_unused_message_id_category.py
+++ b/script/get_unused_message_id_category.py
@@ -1,4 +1,4 @@
-"""Small script to get a new unused message id category"""
+"""Small script to get a new unused message id category."""
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
@@ -10,7 +10,7 @@ from pylint.lint.pylinter import PyLinter
def register_all_checkers_and_plugins(linter: "PyLinter") -> None:
- """Registers all checkers and plugins"""
+ """Registers all checkers and plugins."""
linter.cmdline_parser.set_conflict_handler("resolve")
initialize_checkers(linter)
initialize_extensions(linter)