Skip to content

Commit 5176b45

Browse files
Fix line length for pre-commit
1 parent 1e5b985 commit 5176b45

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/shared.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,10 @@ def update_readme(
220220
entry_start_index = lines.index(entry_start_line)
221221
entry_end_index = lines.index(entry_end_line)
222222
# Include any trailing empty/whitespace-only lines
223-
while entry_end_index + 1 < len(lines) and not lines[entry_end_index + 1].strip():
223+
while (
224+
entry_end_index + 1 < len(lines)
225+
and not lines[entry_end_index + 1].strip()
226+
):
224227
entry_end_index += 1
225228
# Initalize variables of entry is not present
226229
else:

0 commit comments

Comments
 (0)