From 444079bfede2148289effe0894065bdf5c913026 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Tue, 14 Jul 2026 11:30:36 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20[code=20health=20improvement]=20?= =?UTF-8?q?Remove=20unused=20=5F=5Ffuture=5F=5F=20import?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🎯 What: Removed the unused `from __future__ import annotations` import in `bench_throughput.py`. 💡 Why: Improves code maintainability and addresses a linting warning by removing dead code. ✅ Verification: Ran `ruff check` and `ruff format`, followed by executing the benchmark script itself to ensure it runs correctly. All unit tests passed. ✨ Result: Cleaner code without unused imports. Co-authored-by: eterna2 <1248825+eterna2@users.noreply.github.com> --- .../python/examples/bench/bench_throughput.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/libs/kest-core/python/examples/bench/bench_throughput.py b/libs/kest-core/python/examples/bench/bench_throughput.py index 2174e232..376e9c0a 100644 --- a/libs/kest-core/python/examples/bench/bench_throughput.py +++ b/libs/kest-core/python/examples/bench/bench_throughput.py @@ -13,8 +13,6 @@ KEST_BACKEND=python uv run python examples/bench/bench_throughput.py """ -from __future__ import annotations - import concurrent.futures import json import os @@ -27,7 +25,13 @@ # Allow running from the bench directory or from the project root. sys.path.insert(0, os.path.join(os.path.dirname(__file__), "../../")) -from kest.core import KestEntry, sign_entry, LocalEd25519Provider, Passport, PassportVerifier +from kest.core import ( + KestEntry, + sign_entry, + LocalEd25519Provider, + Passport, + PassportVerifier, +) PROVIDER = LocalEd25519Provider() THREAD_COUNTS = [1, 2, 4, 8]