Skip to content

Commit aaaf8e2

Browse files
Copilot0xrinegade
andcommitted
Fix GitHub Actions: resolve black formatting and pytest fixture issues
Co-authored-by: 0xrinegade <[email protected]>
1 parent 1022257 commit aaaf8e2

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

python/solana_ai_registries/client.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -371,9 +371,7 @@ async def send_transaction(
371371
for attempt in range(max_retries):
372372
try:
373373
# Get fresh blockhash for each attempt using robust method
374-
fresh_blockhash = await self._get_fresh_blockhash(
375-
max_attempts=3
376-
)
374+
fresh_blockhash = await self._get_fresh_blockhash(max_attempts=3)
377375

378376
# Wait longer to ensure blockhash propagated across network
379377
if attempt > 0:

python/tests/integration/test_devnet.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ async def client(self):
5555
yield client
5656
await client.close()
5757

58+
@pytest.fixture
5859
def test_keypair(self):
5960
"""Generate a test keypair for operations."""
6061
return Keypair()
@@ -185,6 +186,7 @@ async def client(self):
185186
yield client
186187
await client.close()
187188

189+
@pytest.fixture
188190
def test_keypair(self):
189191
"""Generate a test keypair for operations."""
190192
return Keypair()
@@ -395,6 +397,7 @@ async def client(self):
395397
yield client
396398
await client.close()
397399

400+
@pytest.fixture
398401
def test_keypair(self):
399402
"""Generate a test keypair."""
400403
return Keypair()

0 commit comments

Comments
 (0)