mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-07 12:14:11 +00:00
Reformat (minor, after replacing black with ruff)
Black dependency created a dependabot warning and couldn't be bumped since it collided with pathspec dependencies. Since ruff can also format, black is not needed. But we now have these small format changes, mostly in test files
This commit is contained in:
1 parent
45cd8ca12e
commit
0bbd9e375e
48 files changed
+278
-282
No files matched your search
@@ -135,9 +135,9 @@ int use_add() {
|
||||
ref_files = [ref.get("relativePath", "") for ref in refs]
|
||||
|
||||
# Should find reference in the newly written file
|
||||
assert any(
|
||||
"temp_new_file.cpp" in ref_file for ref_file in ref_files
|
||||
), f"Should find reference in newly written temp_new_file.cpp, {ref_files=}"
|
||||
assert any("temp_new_file.cpp" in ref_file for ref_file in ref_files), (
|
||||
f"Should find reference in newly written temp_new_file.cpp, {ref_files=}"
|
||||
)
|
||||
finally:
|
||||
# Clean up the new file
|
||||
if os.path.exists(new_file_abs_path):
|
||||
|
||||
Reference in new issue
Block a user