Skip to content

Commit

Permalink
style: auto-fixes from pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBernstorff committed Nov 15, 2023
1 parent a54d08c commit 8db97a8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def apply(self, data: PolarsFrame) -> pd.DataFrame:


@BaselineRegistry.preprocessing.register("baseline_preprocessing_pipeline")
class BaselinePreprocessingPipeline(PreprocessingPipeline):
class BaselinePreprocessingPipeline(PreprocessingPipeline):
def __init__(self, *args: PresplitStep) -> None:
self.steps = list(args)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@

@BaselineRegistry.preprocessing.register("age_filter")
class AgeFilter(PresplitStep):
def __init__(self, min_age: int, max_age: int = 999, age_col_name: str = "pred_age"):
def __init__(
self,
min_age: int,
max_age: int = 999,
age_col_name: str = "pred_age",
):
self.min_age = min_age
self.max_age = max_age
self.age = pl.col(age_col_name)
Expand Down

0 comments on commit 8db97a8

Please sign in to comment.