Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 20, 2024
1 parent 3548153 commit e1c4590
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions docs/_ext/traverse_operators_sensors.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,7 @@ def run(self):
for index, operator in enumerate(operators, start=1):
class_def_link = operator[2].replace(".", "/") + "/index.html#" + operator[2] + "." + operator[0]
operators_html += (
f"<tr>"
f"<td>{index}</td>"
f"<td><span><a id={operator[0]}>{operator[0]}</a></span></td>"
f"<tr>" f"<td>{index}</td>" f"<td><span><a id={operator[0]}>{operator[0]}</a></span></td>"
)
if operator[1]:
operators_html += "<td style='text-align: center;'>✅</td>"
Expand Down Expand Up @@ -131,9 +129,7 @@ def run(self):
for index, sensor in enumerate(sensors, start=1):
class_def_link = sensor[2].replace(".", "/") + "/index.html#" + sensor[2] + "." + sensor[0]
sensors_html += (
f"<tr>"
f"<td>{index}</td>"
f"<td><span><a id={sensor[0]}>{sensor[0]}</a></span></td>"
f"<tr>" f"<td>{index}</td>" f"<td><span><a id={sensor[0]}>{sensor[0]}</a></span></td>"
)
if sensor[1]:
sensors_html += "<td style='text-align: center;'>✅</td>"
Expand Down

0 comments on commit e1c4590

Please sign in to comment.