aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/snakeoil/constraints.py')
-rw-r--r--src/snakeoil/constraints.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/snakeoil/constraints.py b/src/snakeoil/constraints.py
index c239727c..5fe46ec1 100644
--- a/src/snakeoil/constraints.py
+++ b/src/snakeoil/constraints.py
@@ -80,9 +80,9 @@ class Problem:
def __init__(self):
self.variables: dict[str, _Domain] = {}
self.constraints: list[tuple[Constraint, frozenset[str]]] = []
- self.vconstraints: dict[
- str, list[tuple[Constraint, frozenset[str]]]
- ] = defaultdict(list)
+ self.vconstraints: dict[str, list[tuple[Constraint, frozenset[str]]]] = (
+ defaultdict(list)
+ )
def add_variable(self, domain: Iterable[Any], *variables: str):
"""Add variables to the problem, which use the specified domain.