Fixed ruff issues
All checks were successful
Continuous Integration / lint-and-security (pull_request) Successful in 21s
Continuous Integration / tests-and-coverage (pull_request) Successful in 23s

This commit is contained in:
2026-06-29 19:58:16 +02:00
parent 94c0cf6ad7
commit c69f146e65
3 changed files with 15 additions and 12 deletions

View File

@@ -10,6 +10,7 @@ sys.path.insert(0, os.path.dirname(__file__))
from openttd import OpenTTDClient, OpenTTDAdminClient
from openttd.protocol import OpenTTDProtocol, OpenTTDAdminProtocol
import tests.test_e2e as test_e2e
# 1. Gather public functions dynamically at runtime using reflection
classes = [OpenTTDClient, OpenTTDAdminClient, OpenTTDProtocol, OpenTTDAdminProtocol]
@@ -48,7 +49,6 @@ for cls in classes:
public_funcs[name] = has_params
# 2. Inspect E2E test module dynamically at runtime using reflection
import tests.test_e2e as test_e2e
calls = {name: [] for name in public_funcs}