Skip to content

Commit 7cab491

Browse files
committed
Black
1 parent aeca578 commit 7cab491

5 files changed

Lines changed: 6 additions & 14 deletions

File tree

debiaiServer/api/v1/exploration/utils.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -288,10 +288,8 @@ def create_selection(
288288
# Extract the selected combinations from the exploration
289289
combinations = exploration.get("combinations", [])
290290
if not combinations:
291-
raise ValueError(
292-
f"No combinations found in exploration \
293-
{exploration_id} for project {project_id}"
294-
)
291+
raise ValueError(f"No combinations found in exploration \
292+
{exploration_id} for project {project_id}")
295293

296294
# Filter the combinations based on the selected IDs
297295
selected_combinations = [

debiaiServer/debiai_gui_utils.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,8 @@ def build_parameters(args):
157157

158158

159159
def main():
160-
parser = argparse.ArgumentParser(
161-
description="""DebiAI GUI Command Line.
162-
Learn more about DebiAI at https://debiai.irt-systemx.fr/"""
163-
)
160+
parser = argparse.ArgumentParser(description="""DebiAI GUI Command Line.
161+
Learn more about DebiAI at https://debiai.irt-systemx.fr/""")
164162

165163
# Version flag
166164
parser.add_argument(

debiaiServer/exploration/utils.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -307,10 +307,8 @@ def create_selection(
307307
# Extract the selected combinations from the exploration
308308
combinations = exploration.get("combinations", [])
309309
if not combinations:
310-
raise ValueError(
311-
f"No combinations found in exploration \
312-
{exploration_id} for project {project_id}"
313-
)
310+
raise ValueError(f"No combinations found in exploration \
311+
{exploration_id} for project {project_id}")
314312

315313
# Filter the combinations based on the selected IDs
316314
selected_combinations = [

debiaiServer/modules/algoProviders/integratedAlgoProvider/algorithms/regressionErrorMetric.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
get_input_from_inputs,
33
)
44

5-
65
# This algorithm is a simple regression metric calculator
76
# It takes a list of numbers corresponding to an error
87
# and a ceil corresponding to the maximum acceptable error

debiaiServer/websrv.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
from debiaiServer.config.init_config import DEBUG_COLOR
99
from flask import send_from_directory, request, Response
1010

11-
1211
DEV_FRONTEND_URL = "http://localhost:8080/"
1312
app = connexion.App(__name__)
1413
app.add_api("swagger.yaml", strict_validation=True)

0 commit comments

Comments
 (0)