Skip to content

Commit fa93046

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent c56ca37 commit fa93046

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/actigraphy/components/day_slider.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def day_slider(participant_name: str, max_count: int) -> html.Div:
4242
0,
4343
max_count - 1,
4444
1,
45-
marks={f"{i}": f"{i+1}" for i in range(max_count)},
45+
marks={f"{i}": f"{i + 1}" for i in range(max_count)},
4646
value=0,
4747
id="day_slider",
4848
),

src/actigraphy/components/graph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def create_graph(
161161
non_wear = [point.non_wear for point in included_data_points]
162162

163163
title_day = (
164-
f"Day {day_index+1}:"
164+
f"Day {day_index + 1}:"
165165
f"{included_data_points[0].timestamp.strftime('%A, %d %B %Y')}"
166166
) # Frontend uses 1-indexed days.
167167

tests/unit/components/test_switches.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ class MockReturn(NamedTuple):
3232

3333
actual_status_flags = update_switches_callback(0, file_manager)
3434

35-
assert (
36-
actual_status_flags == expected_status_flags
37-
), "update_switches did not return the expected status flags"
35+
assert actual_status_flags == expected_status_flags, (
36+
"update_switches did not return the expected status flags"
37+
)

0 commit comments

Comments
 (0)