Skip to content

Commit d6a61bf

Browse files
style: pre-commit fixes
1 parent 884c40a commit d6a61bf

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

examples/scripts/run_ecm.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import pybamm
2+
23
pybamm.set_logging_level("INFO")
34

45
model = pybamm.equivalent_circuit.Thevenin()

pybamm/experiments/experiment.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -433,10 +433,7 @@ def _read_and_drop_temperature(self, cond):
433433
matches = re.findall(r"at\s-*\d+\.*\d*\s*oC", cond)
434434

435435
if len(matches) == 0 and "oC" in cond:
436-
raise ValueError(
437-
f"Temperature not written "
438-
f"correctly on step: '{cond}'"
439-
)
436+
raise ValueError(f"Temperature not written " f"correctly on step: '{cond}'")
440437

441438
if len(matches) == 0:
442439

0 commit comments

Comments
 (0)