From e506b73ccb1d88f259d610646db3328d64319af8 Mon Sep 17 00:00:00 2001 From: "Kevin R. Thornton" Date: Mon, 25 Nov 2024 14:26:08 -0800 Subject: [PATCH] fmt --- demes/demes.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/demes/demes.py b/demes/demes.py index 928f7a5..2f1cdf3 100644 --- a/demes/demes.py +++ b/demes/demes.py @@ -485,7 +485,9 @@ class Pulse: time: Time = attr.ib(validator=[int_or_float, positive, finite]) proportions: List[Proportion] = attr.ib( validator=attr.validators.deep_iterable( - member_validator=attr.validators.and_(int_or_float, unit_interval_exclusive_lo), + member_validator=attr.validators.and_( + int_or_float, unit_interval_exclusive_lo + ), iterable_validator=attr.validators.instance_of(list), ) )