Skip to content

Commit

Permalink
HTML amd JS improvements suggested by prettier and updated some pre-c…
Browse files Browse the repository at this point in the history
…ommit versions
  • Loading branch information
mambelli committed Aug 14, 2023
1 parent e28d97f commit 81b45a8
Show file tree
Hide file tree
Showing 14 changed files with 237 additions and 233 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ default_language_version:
node: 17.9.0
repos:
- repo: "https://github.com/pre-commit/pre-commit-hooks"
rev: v4.1.0
rev: v4.4.0
hooks:
- id: check-ast
- id: check-docstring-first
Expand Down Expand Up @@ -36,7 +36,7 @@ repos:
hooks:
- id: black
- repo: "https://github.com/pre-commit/mirrors-prettier"
rev: v2.6.2
rev: v3.0.1
hooks:
- id: prettier
exclude_types:
Expand All @@ -54,7 +54,7 @@ repos:
args:
- "--py36-plus"
- repo: "https://github.com/fsfe/reuse-tool"
rev: v0.14.0
rev: v2.1.0
hooks:
- id: reuse
additional_dependencies:
Expand Down
22 changes: 11 additions & 11 deletions creation/web_base/factoryCompletedStats.html
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
"aggwsum",
"aggavgf",
"affwsumf",
"fail"
"fail",
);
var ENTRY;

Expand Down Expand Up @@ -224,7 +224,7 @@
for (var entry in entries) {
if (ec_added < groups_starting_idx) {
entries_select.appendChild(
new Option(entries[entry], entries[entry])
new Option(entries[entry], entries[entry]),
);
ec_added++;
} else {
Expand Down Expand Up @@ -254,7 +254,7 @@
fes.appendChild(new Option("total", "total"));
for (var frontend in frontend_list[entry]) {
frontends_select.appendChild(
new Option(frontend_list[entry][frontend])
new Option(frontend_list[entry][frontend]),
);
}
}
Expand Down Expand Up @@ -831,7 +831,7 @@
for (var i = 0; i < gtype_filtered_list.length; i++) {
rrd_filtered_data = new RRDFilterDS(
rrd_data1,
gtype_DSs[gtype_filtered_list[i]]
gtype_DSs[gtype_filtered_list[i]],
);
var DS_list = [];
for (var j = 0; j < rrd_filtered_data.getNrDSs(); j++) {
Expand All @@ -849,7 +849,7 @@
rrd_data1,
null,
gtype_formats[gtype_id],
null
null,
);
} else if (gtype_id == "fail") {
var DS_list = [];
Expand All @@ -872,16 +872,16 @@
op_list.push(
new FractionDS(
rrd_data1.getDS(failed_idx).getName(),
rrd_data1.getDS(glidein_idx).getName()
)
rrd_data1.getDS(glidein_idx).getName(),
),
);
rrd_data1 = new RRDFilterOp(rrd_data1, op_list);
var f = new rrdFlot(
"mygraph",
rrd_data1,
null,
gtype_formats[gtype_id],
null
null,
);
}
//Non-Aggregated InfoGroups
Expand All @@ -903,12 +903,12 @@
continue;
}
op_list.push(
new RelativeDS(DS_list, rrd_data1.getDS(i).getName(), i)
new RelativeDS(DS_list, rrd_data1.getDS(i).getName(), i),
);
}
if (flag == 1) {
op_list.push(
new RelativeDS(DS_list, rrd_data1.getDS(0).getName(), 0)
new RelativeDS(DS_list, rrd_data1.getDS(0).getName(), 0),
);
}

Expand Down Expand Up @@ -950,7 +950,7 @@
rrd_data1,
null,
gtype_formats[gtype_id],
{ num_cb_rows: x }
{ num_cb_rows: x },
);
}

Expand Down
Loading

0 comments on commit 81b45a8

Please sign in to comment.