Skip to content

Commit 5ac5b26

Browse files
committed
fix black formatting: use double quotes in HTMLTemplateFormatter template
1 parent 1fe4af2 commit 5ac5b26

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

distributed/dashboard/components/scheduler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4130,8 +4130,8 @@ def __init__(self, scheduler, **kwargs):
41304130

41314131
formatters = {
41324132
"cpu": HTMLTemplateFormatter(
4133-
template='<% if (_is_total) { %><%= (value).toFixed(1) %>'
4134-
'<% } else { %><%= Math.round(value * 100) %> %<% } %>'
4133+
template="<% if (_is_total) { %><%= (value).toFixed(1) %>"
4134+
"<% } else { %><%= Math.round(value * 100) %> %<% } %>"
41354135
),
41364136
"memory_percent": NumberFormatter(format="0.0 %"),
41374137
"memory": NumberFormatter(format="0.0 b"),

0 commit comments

Comments
 (0)