Skip to content

Commit 8516c18

Browse files
fix warning statement
1 parent 54c6c77 commit 8516c18

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

codespell_lib/_spellchecker.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,7 @@ def build_dict(
5656
for line in f:
5757
left, pound, _ = line.partition("#")
5858
if pound and left and left[-1] not in (" ", "\t"):
59-
print(
60-
f"WARNING: {filename}: missing spaces before #: {line.rstrip()!r}"
61-
)
59+
print(f"WARNING: {filename}: missing spaces before #: {line.rstrip()!r}")
6260
continue
6361

6462
line = left.strip()

0 commit comments

Comments
 (0)