Skip to content

Commit

Permalink
Reformat code
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffxy committed Jan 31, 2025
1 parent d7606e2 commit 6a4c33d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/brad/blueprint/serde.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def serialize_blueprint(blueprint: Blueprint) -> bytes:


def _tables_with_locations_to_proto(
table_with_locations: Tuple[Table, List[Engine]]
table_with_locations: Tuple[Table, List[Engine]],
) -> b.Table:
table, locations = table_with_locations
return b.Table(
Expand Down
2 changes: 1 addition & 1 deletion src/brad/planner/enumeration/provisioning.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def _load_instance_resources(file_name: str) -> Dict[str, Dict[str, int | float]


def _find_min_instance(
instances: Dict[str, Dict[str, int | float]]
instances: Dict[str, Dict[str, int | float]],
) -> Tuple[str, Dict[str, int | float]]:
min_type: Optional[str] = None
min_resources: Optional[Dict[str, int | float]] = None
Expand Down
2 changes: 1 addition & 1 deletion src/brad/planner/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@ def _fill_empty_metrics(to_fill: pd.DataFrame, guide: pd.DataFrame) -> pd.DataFr


def _compute_redshift_cpu_stats(
redshift_cpu: Dict[str, float]
redshift_cpu: Dict[str, float],
) -> Tuple[float, npt.NDArray]:
"""
Returns the aggregated CPU value and list of all CPU values.
Expand Down

0 comments on commit 6a4c33d

Please sign in to comment.