From 391c495e923c96f788777c1cd4e6da0e7f529990 Mon Sep 17 00:00:00 2001 From: Talley Lambert Date: Thu, 24 Oct 2024 18:00:16 +0200 Subject: [PATCH] fix lint --- ilpy/_functional.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ilpy/_functional.py b/ilpy/_functional.py index 73f1dec..73b6a08 100644 --- a/ilpy/_functional.py +++ b/ilpy/_functional.py @@ -1,7 +1,7 @@ from __future__ import annotations from collections.abc import Iterable, Mapping, Sequence -from typing import TYPE_CHECKING, Callable, Literal, Tuple +from typing import TYPE_CHECKING, Callable, Literal from .expressions import Expression from .wrapper import ( @@ -15,7 +15,7 @@ ) if TYPE_CHECKING: - ConstraintTuple = Tuple[list[float], Relation | str, float] + ConstraintTuple = tuple[list[float], Relation | str, float] SenseType = Sense | Literal["minimize", "maximize"] VariableTypeType = VariableType | Literal["continuous", "binary", "integer"] PreferenceType = Preference | Literal["any", "cplex", "gurobi", "scip"]