Skip to content

Commit 182ff72

Browse files
committed
Re-format code after merging partition anchor support
1 parent d454875 commit 182ff72

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

psqlextra/partitioning/time_partition_size.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def __init__(
3131
months: Optional[int] = None,
3232
weeks: Optional[int] = None,
3333
days: Optional[int] = None,
34-
anchor: datetime = UNIX_EPOCH
34+
anchor: datetime = UNIX_EPOCH,
3535
) -> None:
3636
sizes = [years, months, weeks, days]
3737

tests/test_partitioning_time.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,8 @@ def test_partitioning_time_daily_apply():
256256

257257
@pytest.mark.postgres_version(lt=110000)
258258
def test_partitioning_time_consistent_daily_apply():
259-
"""Ensures that automatic daily partition creation is consistent and aligned
260-
when the partition size spans multiple days (e.g., days > 1)"""
259+
"""Ensures that automatic daily partition creation is consistent and
260+
aligned when the partition size spans multiple days (e.g., days > 1)"""
261261

262262
model = define_fake_partitioned_model(
263263
{"timestamp": models.DateTimeField()}, {"key": ["timestamp"]}

0 commit comments

Comments
 (0)