aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2024-01-26 11:03:13 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2024-01-26 11:03:13 +0200
commit21b0291a014d17bc4681ae66b0d900c96279fc53 (patch)
tree318c09ca9ab005c2e1ed0a7b6f965e10a6878e08 /src/snakeoil/constraints.py
parentauthors: Add myself to the list. (diff)
downloadsnakeoil-21b0291a014d17bc4681ae66b0d900c96279fc53.tar.gz
snakeoil-21b0291a014d17bc4681ae66b0d900c96279fc53.tar.bz2
snakeoil-21b0291a014d17bc4681ae66b0d900c96279fc53.zip
reformat with black 24
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
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.