Skip to content

Commit

Permalink
style: pre-commit.ci fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Feb 4, 2025
1 parent bbe1752 commit 3373512
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/tests/file_export/test_file_content_remover.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def test_file_with_incomplete_block(self) -> None:
self.assertEqual(remove_lines_within_limiters_from_string(file_content), file_content)

def test_file_with_inverted_block(self) -> None:
file_content = f"some\n{EXPORT_END}stuff and " f"some\n{EXPORT_BEGIN}\nmore stuff;\n// comment\n"
file_content = f"some\n{EXPORT_END}stuff and some\n{EXPORT_BEGIN}\nmore stuff;\n// comment\n"
self.assertEqual(remove_lines_within_limiters_from_string(file_content), file_content)

def test_remove_clang_tidy_comment_at_end_of_line(self) -> None:
Expand Down
2 changes: 1 addition & 1 deletion tools/tests/test_gitlab_projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def test_evaluate_code_minimal_valid_parameters(self) -> None:

def test_evaluate_code_max_valid_parameters(self) -> None:
args = parse_arguments(
"foo.py evaluate_code -t 123 config_file.json -w workspace " "-n 2 -d 2021 11 15 -e 2021 11 24".split(" ")
"foo.py evaluate_code -t 123 config_file.json -w workspace -n 2 -d 2021 11 15 -e 2021 11 24".split(" ")
)

self.assertEqual(args.student_repo_info_file.file_path, "config_file.json")
Expand Down

0 comments on commit 3373512

Please sign in to comment.