mirror of
https://github.com/quatalog/quatalog.git
synced 2025-11-29 15:55:55 +00:00
Lint
This commit is contained in:
parent
7c87221256
commit
0f3652d8cc
|
|
@ -232,7 +232,9 @@ def parse_course_td(td, note=None):
|
||||||
cr_delim = (
|
cr_delim = (
|
||||||
len(course_info)
|
len(course_info)
|
||||||
- 1
|
- 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]))
|
assert bool(re.search(r"[0-9]\)", course_info[-1]))
|
||||||
except (ValueError, AssertionError):
|
except (ValueError, AssertionError):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue