Skip to content

Commit 3f9e4e8

Browse files
committed
Ruff update.
1 parent caeda26 commit 3f9e4e8

File tree

1 file changed

+3
-1
lines changed
  • circuit_maintenance_parser/parsers

1 file changed

+3
-1
lines changed

circuit_maintenance_parser/parsers/aws.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1293,6 +1293,8 @@ def parse_html(self, soup):
12931293
data["circuits"].append(CircuitImpact(circuit_id=line.strip(), impact=impact))
12941294

12951295
# Generate maintenance ID
1296-
maintenance_id = "".join(circuit.circuit_id for circuit in data["circuits"]) + str(data["start"]) + str(data["end"])
1296+
maintenance_id = (
1297+
"".join(circuit.circuit_id for circuit in data["circuits"]) + str(data["start"]) + str(data["end"])
1298+
)
12971299
data["maintenance_id"] = hashlib.sha256(maintenance_id.encode("utf-8")).hexdigest() # nosec
12981300
return [data]

0 commit comments

Comments
 (0)