Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[import-599] fix flake8 #4698

Merged
merged 1 commit into from
May 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion ydb/apps/dstool/lib/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ def invoke_grpc(func, *params, explicit_host=None, host=None):
if connection_params.verbose:
p = ', '.join('<<< %s >>>' % text_format.MessageToString(param, as_one_line=True) for param in params)
print('INFO: issuing %s(%s) @%s:%d protocol %s' % (func, p, host, connection_params.grpc_port,
connection_params.mon_protocol), file=sys.stderr)
connection_params.mon_protocol), file=sys.stderr)

def work(channel):
try:
Expand All @@ -354,6 +354,7 @@ def work(channel):
retval = work(channel)
return retval


def invoke_bsc_request(request):
if connection_params.http:
tablet_id = 72057594037932033
Expand Down
2 changes: 1 addition & 1 deletion ydb/apps/dstool/lib/dstool_cmd_cluster_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def add_options(p):
g.add_argument('--disk-management-mode', type=str, choices=choices, help='Disk management mode')
g.add_argument('--enable-self-heal-local-policy', action='store_const', const=True, dest='self_heal_local_policy', help='Enable SelfHeal local policy for cluster')
g.add_argument('--disable-self-heal-local-policy', action='store_const', const=False, dest='self_heal_local_policy', help='Disable SelfHeal local policy for cluster')

common.add_basic_format_options(p)


Expand Down
2 changes: 1 addition & 1 deletion ydb/apps/dstool/lib/dstool_cmd_cluster_workload_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def do_kill_blob_depot():
if not args.disable_wipes:
wipes.append(('wipe vslot id: %s, vdisk id: %s' % (vslot_id, vdisk_id), (do_wipe, vslot)))
if not args.disable_readonly:
readolies.append(('readonly vslot id: %s, vdisk id: %s' % (vslot_id, vdisk_id), (do_readonly, vslot, True)))
readonlies.append(('readonly vslot id: %s, vdisk id: %s' % (vslot_id, vdisk_id), (do_readonly, vslot, True)))

def pick(v):
action_name, action = random.choice(v)
Expand Down
2 changes: 1 addition & 1 deletion ydb/tests/fq/s3/test_bindings.py
Original file line number Diff line number Diff line change
Expand Up @@ -658,4 +658,4 @@ def test_raw_empty_schema_binding(self, kikimr, client, unique_prefix):
columns=[],
check_issues=False)
assert "Only one column in schema supported in raw format" in str(binding_response.issues), str(
binding_response.issues)
binding_response.issues)
Loading