[F] A2 P3 Fix "Found pycodestyle (PEP8) style error at line 142"

This commit is contained in:
Hykilpikonna
2021-10-03 14:32:24 -04:00
parent 49e31d3f99
commit a3696d390b
+6 -6
View File
@@ -139,7 +139,7 @@ def is_valid(schedule: dict[str, tuple[str, str, tuple]]) -> bool:
def possible_schedules(c1: tuple[str, str, set], c2: tuple[str, str, set]) \
-> list[dict[str, tuple[str, str, tuple]]]:
-> list[dict[str, tuple[str, str, tuple]]]:
"""Return a list of all possible schedules of courses c1 and c2.
Each returned schedule should contain exactly two key-value pairs, one with the course
@@ -290,8 +290,8 @@ if __name__ == '__main__':
# (Delete the "#" and space before each line.)
# IMPORTANT: keep this code indented inside the "if __name__ == '__main__'" block
# IMPORTANT: Leave this code uncommented when you submit your files.
# python_ta.check_all(config={
# 'extra-imports': ['datetime', 'python_ta.contracts'],
# 'max-line-length': 100,
# 'disable': ['R1705', 'R1729']
# })
python_ta.check_all(config={
'extra-imports': ['datetime', 'python_ta.contracts'],
'max-line-length': 100,
'disable': ['R1705', 'R1729']
})