Skip to content

Commit 2ec22dc

Browse files
committed
flake8: silence warnings
1 parent 86d4e4a commit 2ec22dc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

faasmctl/tasks/invoke.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def invoke(
107107
return 0
108108

109109
if output_format == "start-end-ts":
110-
print(f"{start_ts},{end_ts}")
110+
print(f"{start_ts},{end_ts}") # noqa: E231
111111
return 0
112112

113113
print("======================= Faasm Execution =========================")

faasmctl/tasks/monitor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def print_planner_resources(policy):
126126

127127
def color_text(color, text="X"):
128128
num1 = str(color)
129-
return f"\033[38;5;{num1}m{text}\033[0;0m"
129+
return f"\033[38;5;{num1}m{text}\033[0;0m" # noqa: E231, E702
130130

131131
def print_line(host_msg, worker_occupation, next_evicted_vm_ips=[]):
132132
is_evicted = host_msg.ip in next_evicted_vm_ips

0 commit comments

Comments
 (0)