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:
Michael Panchenko authored and Dominik Jain committed 2026-03-23 21:10:41 +01:00
1 parent 45cd8ca12e
commit 0bbd9e375e
48 files changed
+278 -282

No files matched your search

+3 -3
View File
@@ -225,9 +225,9 @@ class TestPhpLanguageServers:
assert dog_symbol is not None, "Dog class not found in root symbols"
dog_children = dog_symbol.get("children", [])
dog_child_names = [c.get("name") for c in dog_children]
assert (
len(dog_child_names) > 0
), f"Dog class has no children — hierarchicalDocumentSymbolSupport is not working. All root symbols: {root_names}"
assert len(dog_child_names) > 0, (
f"Dog class has no children — hierarchicalDocumentSymbolSupport is not working. All root symbols: {root_names}"
)
expected_methods = {"greet", "fetch", "getBreed", "describe"}
missing = expected_methods - set(dog_child_names)
assert not missing, f"Dog class missing expected methods: {missing}. Children found: {dog_child_names}"