Skip to content

Commit

Permalink
chore: lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
VsevolodX committed Jan 13, 2025
1 parent df485f8 commit a97e904
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions utils/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,7 @@ async def ui_prompt_select_array_element_by_index_pyodide(
async def select_coordination_threshold_emscripten(distribution, default_threshold):
coordination_threshold = default_threshold
coordination_numbers = list(distribution.keys())
prompt_text = (
f"\nCoordination numbers distribution: {distribution}"
f"\nEnter coordination threshold value: "
)
prompt_text = f"\nCoordination numbers distribution: {distribution}" f"\nEnter coordination threshold value: "
while True:
try:
value_str = await input(prompt_text) # type: ignore
Expand All @@ -113,10 +110,7 @@ async def select_coordination_threshold_emscripten(distribution, default_thresho
def select_coordination_threshold_python(distribution, default_threshold):
coordination_threshold = default_threshold
coordination_numbers = list(distribution.keys())
prompt_text = (
f"\nCoordination numbers distribution: {distribution}"
f"\nEnter coordination threshold value: "
)
prompt_text = f"\nCoordination numbers distribution: {distribution}" f"\nEnter coordination threshold value: "
while True:
try:
value_str = input(prompt_text)
Expand All @@ -136,4 +130,4 @@ async def select_coordination_threshold(distribution, default_threshold):
if sys.platform == "emscripten":
return await select_coordination_threshold_emscripten(distribution, default_threshold)
else:
return select_coordination_threshold_python(distribution, default_threshold)
return select_coordination_threshold_python(distribution, default_threshold)

0 comments on commit a97e904

Please sign in to comment.