summaryrefslogtreecommitdiff
path: root/pylint/extensions/empty_comment.py
diff options
context:
space:
mode:
Diffstat (limited to 'pylint/extensions/empty_comment.py')
-rw-r--r--pylint/extensions/empty_comment.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pylint/extensions/empty_comment.py b/pylint/extensions/empty_comment.py
index ab4a03939..a6f2ede75 100644
--- a/pylint/extensions/empty_comment.py
+++ b/pylint/extensions/empty_comment.py
@@ -3,7 +3,7 @@ from pylint.interfaces import IRawChecker
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:
@@ -14,7 +14,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