Skip to content

Commit 1c0ae47

Browse files
author
Victor Garcia Reolid
committed
pre-commit one more time
Signed-off-by: Victor Garcia Reolid <victor@seita.nl>
1 parent fa7663f commit 1c0ae47

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

linopy/constraints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,7 @@ def __getattr__(self, name: str) -> Constraint:
759759
def __getstate__(self) -> dict:
760760
return self.__dict__
761761

762-
def __setstate__(self, d : dict):
762+
def __setstate__(self, d: dict):
763763
self.__dict__.update(d)
764764

765765
def __dir__(self) -> list[str]:

linopy/variables.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1185,7 +1185,7 @@ def __getattr__(self, name: str) -> Variable:
11851185
def __getstate__(self) -> dict:
11861186
return self.__dict__
11871187

1188-
def __setstate__(self, d : dict):
1188+
def __setstate__(self, d: dict):
11891189
self.__dict__.update(d)
11901190

11911191
def __dir__(self) -> list[str]:

0 commit comments

Comments
 (0)