Skip to content

Commit

Permalink
chore: fized pep
Browse files Browse the repository at this point in the history
Signed-off-by: Kenzo Lobos-Tsunekawa <[email protected]>
  • Loading branch information
knzo25 committed Apr 2, 2024
1 parent 715fee7 commit a445808
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,11 @@ def register_calibrator(cls, project_name: str, calibrator_name: str) -> Callabl
Args:
project_name (str): The name of the calibration project.
calibrator_name (str): The name of the calibrator.
Returns:
Returns
-------
wrapper
"""

def inner_wrapper(wrapped_class: CalibratorBase) -> CalibratorBase:
Expand All @@ -72,8 +75,10 @@ def create_calibrator(cls, project_name: str, calibrator_name: str, **kwargs) ->
Args:
name (str): The name of the executor to create.
Returns:
Returns
-------
An instance of the executor that is created.
"""
if project_name not in cls.registry or calibrator_name not in cls.registry[project_name]:
cls.logger.error(
Expand Down

0 comments on commit a445808

Please sign in to comment.