Skip to content

Commit 560580b

Browse files
vvillait88claude
andcommitted
chore: whitelist 'ex' kwarg in _RedisLike Protocol
vulture flagged `ex` as 100% unused in `agentscore_commerce/stripe_multichain/pi_cache.py:45`. It's a kwarg name in the structural-typing Protocol matching `redis.asyncio.Redis.set(..., ex=)` — required for type-checking calls against the redis client, can't be removed. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 4311b44 commit 560580b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

vulture_whitelist.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
receive # noqa: F821
66
send # noqa: F821
77

8+
# Redis SET kwarg in _RedisLike Protocol (structural type for redis.asyncio.Redis)
9+
ex # noqa: F821
10+
811
# Public API exports
912
Activity # noqa: F821
1013
AgentScoreGate # noqa: F821

0 commit comments

Comments
 (0)