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

@@ -139,9 +139,9 @@ class TestSolidityLanguageServerBasics:
references = language_server.request_references("contracts/Token.sol", definition_line, definition_char)
assert references is not None, "Should return references for '_transfer'"
assert (
len(references) >= 2
), f"'_transfer' should have at least 2 references (callers), found {len(references)}" # called in transfer() and transferFrom()
assert len(references) >= 2, (
f"'_transfer' should have at least 2 references (callers), found {len(references)}"
) # called in transfer() and transferFrom()
ref_files = {ref.get("uri", "") for ref in references}
assert any("Token.sol" in uri for uri in ref_files), "References should include Token.sol"