Please ruff

This commit is contained in:
Victor Polevoy
2025-07-11 11:28:14 +02:00
parent 47d0acc423
commit b88bb64bc8
2 changed files with 5 additions and 3 deletions

View File

@@ -4353,9 +4353,9 @@ class Endpoint(PgProtocol, LogUtils):
# XXX: By checking for None, we enable the new communicator for all tests
# by default
if grpc or grpc is None:
config_lines += [f"neon.enable_new_communicator=on"]
config_lines += ["neon.enable_new_communicator=on"]
else:
config_lines += [f"neon.enable_new_communicator=off"]
config_lines += ["neon.enable_new_communicator=off"]
# Delete file cache if it exists (and we're recreating the endpoint)
if USE_LFC:

View File

@@ -17,7 +17,9 @@ def check_tenant(
config_lines = [
f"neon.safekeeper_proto_version = {safekeeper_proto_version}",
]
endpoint = env.endpoints.create_start("main", tenant_id=tenant_id, config_lines=config_lines, grpc=True)
endpoint = env.endpoints.create_start(
"main", tenant_id=tenant_id, config_lines=config_lines, grpc=True
)
# we rely upon autocommit after each statement
res_1 = endpoint.safe_psql_many(
queries=[