Skip to content

Commit 74174d1

Browse files
committed
fix: making ruff happy
1 parent ea139b5 commit 74174d1

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

iglu_python/mag.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
def mag(
1010
data: Union[pd.DataFrame, pd.Series],
11-
n: int|None = None, # to match a new IGLU-R behavior
11+
n: int | None = None, # to match a new IGLU-R behavior
1212
dt0: Optional[int] = None,
1313
inter_gap: int = 45,
1414
tz: str = "",
@@ -88,10 +88,11 @@ def mag(
8888

8989
def mag_single(
9090
gl: pd.Series,
91-
n: int|None = None, # to match a new IGLU-R behavior
91+
n: int | None = None, # to match a new IGLU-R behavior
9292
dt0: Optional[int] = None,
9393
inter_gap: int = 45,
94-
tz: str = "") -> float:
94+
tz: str = "",
95+
) -> float:
9596
"""Calculate MAG for a single subject"""
9697
# Convert data to day-by-day format
9798
data_ip = CGMS2DayByDay(gl, dt0=dt0, inter_gap=inter_gap, tz=tz)

0 commit comments

Comments
 (0)