Skip to content

Commit b915ef2

Browse files
committed
fix black check
1 parent fe8630b commit b915ef2

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

scheduler/app/faas_scheduler/utils.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@
2727
# defaults...
2828
LOG_DIR = "/opt/scheduler/logs/"
2929
SUB_PROCESS_TIMEOUT = int(os.environ.get("PYTHON_PROCESS_TIMEOUT", 60 * 15))
30-
TIMEOUT_OUTPUT = "The script's running time exceeded the limit and the execution was aborted."
30+
TIMEOUT_OUTPUT = (
31+
"The script's running time exceeded the limit and the execution was aborted."
32+
)
3133
VERSION = os.getenv("VERSION")
3234

3335

scheduler/app/flask_server.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@
3333
# defaults...
3434
SCRIPT_WORKERS = int(os.environ.get("PYTHON_SCHEDULER_SCRIPT_WORKERS", 5))
3535
SUB_PROCESS_TIMEOUT = int(os.environ.get("PYTHON_PROCESS_TIMEOUT", 60 * 15))
36-
TIMEOUT_OUTPUT = "The script's running time exceeded the limit and the execution was aborted."
36+
TIMEOUT_OUTPUT = (
37+
"The script's running time exceeded the limit and the execution was aborted."
38+
)
3739

3840
app = Flask(__name__)
3941

0 commit comments

Comments
 (0)