Skip to content

Commit a54b965

Browse files
committed
Strip lines
1 parent 245e90c commit a54b965

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ignoring_somethings/verify.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ def verify(repo: GitAutograderRepo) -> GitAutograderOutput:
2626

2727
# Read the file and parse it
2828
with open(".gitignore", "r") as gitignore_file:
29-
lines = [line for line in gitignore_file.readlines() if line.strip() != ""]
29+
lines = [
30+
line.strip() for line in gitignore_file.readlines() if line.strip() != ""
31+
]
3032

3133
comments: List[str] = []
3234
print(lines)

0 commit comments

Comments
 (0)