diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2024-06-07 10:46:02 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2024-06-07 10:46:02 +0200 |
| commit | 55e6421b012c3ad6ef97e5c632506fdc445d6067 (patch) | |
| tree | 539330dd0250e758f72957682949ce80f8c5209b | |
| parent | beab80cba5a34813f65f35f05942a7d673f1506c (diff) | |
| download | quiz-55e6421b012c3ad6ef97e5c632506fdc445d6067.tar.gz quiz-55e6421b012c3ad6ef97e5c632506fdc445d6067.zip | |
improve variable name and remove trailing whitespace
| -rwxr-xr-x | quiz.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -73,7 +73,7 @@ def exclude_questions(questions: list[Path], """exclude all paths in excludes_file from the questions""" with open(excludes_file_path, 'r', encoding='utf-8') as excludes_file: - excludes = [l[:-1] for l in excludes_file.readlines()] + excludes = [line[:-1] for line in excludes_file.readlines()] return [q for q in questions if q.name not in excludes] @@ -115,7 +115,7 @@ def load_solutions(question_dirs: list[Path], solutions must be either in a solutions file per question directory or in a single solutions file. - Solution files must be toml or csv files. + Solution files must be toml or csv files. Nested tables can be selected using the selector. """ solutions = {} |
