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 /pylint/extensions/empty_comment.py | |
parent | e3d5deca2886d9e2d5f2be2a252e39e02ae42b96 (diff) | |
download | pylint-git-595ec422d6f9bd32f42c356d2f316ec69e0f7bee.tar.gz |
Update ``pydocstringformatter`` to 0.4.0 (#5787)
Diffstat (limited to 'pylint/extensions/empty_comment.py')
-rw-r--r-- | pylint/extensions/empty_comment.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pylint/extensions/empty_comment.py b/pylint/extensions/empty_comment.py index c52540308..68b48970d 100644 --- a/pylint/extensions/empty_comment.py +++ b/pylint/extensions/empty_comment.py @@ -10,7 +10,7 @@ if TYPE_CHECKING: def is_line_commented(line): - """Checks if a `# symbol that is not part of a string was found in line""" + """Checks if a `# symbol that is not part of a string was found in line.""" comment_idx = line.find(b"#") if comment_idx == -1: @@ -21,7 +21,7 @@ def is_line_commented(line): def comment_part_of_string(line, comment_idx): - """checks if the symbol at comment_idx is part of a string""" + """Checks if the symbol at comment_idx is part of a string.""" if ( line[:comment_idx].count(b"'") % 2 == 1 |