From 0f3652d8cc22f21c7ba2ac2832a2ca7b3ac5dad6 Mon Sep 17 00:00:00 2001 From: powe97 <116031952+powe97@users.noreply.github.com> Date: Wed, 6 Mar 2024 16:16:36 -0600 Subject: [PATCH] Lint --- transfer_scraper/main.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/transfer_scraper/main.py b/transfer_scraper/main.py index 413ddb7..936e626 100644 --- a/transfer_scraper/main.py +++ b/transfer_scraper/main.py @@ -232,7 +232,9 @@ def parse_course_td(td, note=None): cr_delim = ( len(course_info) - 1 - - list(bool(re.search(r"^\([0-9]", s.strip())) for s in course_info[::-1]).index(True) + - list( + bool(re.search(r"^\([0-9]", s.strip())) for s in course_info[::-1] + ).index(True) ) assert bool(re.search(r"[0-9]\)", course_info[-1])) except (ValueError, AssertionError):