Skip to content

Commit c792a06

Browse files
fix: apply ruff-format to long assertion line in test_integration.py
Agent-Logs-Url: https://github.com/cpp-linter/cpp-linter-hooks/sessions/34061e6b-161d-43de-b6e2-4f3a3a642f63 Co-authored-by: shenxianpeng <3353385+shenxianpeng@users.noreply.github.com>
1 parent 4e54e3c commit c792a06

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/test_integration.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ def test_clang_format_style_from_file_reformats(clang_format_workspace):
6868

6969
assert ret == 0
7070
assert isinstance(output, str)
71-
assert test_file.read_bytes() != MAIN_C.read_bytes(), "file should have been reformatted"
71+
assert test_file.read_bytes() != MAIN_C.read_bytes(), (
72+
"file should have been reformatted"
73+
)
7274

7375

7476
@pytest.mark.benchmark

0 commit comments

Comments
 (0)