mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-20 00:15:41 +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
@@ -154,9 +154,9 @@ class TestGoBuildTags:
|
||||
|
||||
assert versioned_cache_files, f"Expected at least one SolidLSP cache file with a __cache_version under {cache_dir}"
|
||||
saved_versions = {v for _, v in versioned_cache_files}
|
||||
assert (
|
||||
default_raw_cache_version in saved_versions or default_doc_cache_version in saved_versions
|
||||
), "Expected at least one persisted cache to match the default-context cache version"
|
||||
assert default_raw_cache_version in saved_versions or default_doc_cache_version in saved_versions, (
|
||||
"Expected at least one persisted cache to match the default-context cache version"
|
||||
)
|
||||
|
||||
# Run 2 (default context again): prove that persisted caches are actually loaded and used.
|
||||
with start_ls_context(Language.GO, repo_path=str(repo_path), solidlsp_dir=tmp_path) as ls_default_again:
|
||||
|
||||
Reference in new issue
Block a user