Skip to content

Commit

Permalink
style: pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Jan 30, 2025
1 parent 0914fb0 commit fe3f56d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pybop/applications/gitt_methods.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Callable, Optional
from typing import Optional

import pybop

Expand Down Expand Up @@ -39,7 +39,9 @@ def __init__(
if key not in self.parameter_set.keys():
missing_keys.append(key)
if any(missing_keys):
raise ValueError(f"The following keys are missing from the parameter set: {missing_keys}.")
raise ValueError(
f"The following keys are missing from the parameter set: {missing_keys}."
)

# Fitting parameters
self.parameters = pybop.Parameters(
Expand Down

0 comments on commit fe3f56d

Please sign in to comment.