Minor cosmetic changes.
This commit is contained in:
parent
cc4af2b7ad
commit
18f83b2188
3 changed files with 6 additions and 6 deletions
|
@ -7,7 +7,8 @@ import pulp
|
||||||
class SupportsLessThan(Protocol):
|
class SupportsLessThan(Protocol):
|
||||||
def __lt__(self, __other: Any) -> bool: ...
|
def __lt__(self, __other: Any) -> bool: ...
|
||||||
|
|
||||||
T = TypeVar("T", bound=SupportsLessThan)
|
|
||||||
|
T = TypeVar('T', bound=SupportsLessThan)
|
||||||
|
|
||||||
|
|
||||||
def _min_hitting_set(sets: Iterator[Set]) -> int:
|
def _min_hitting_set(sets: Iterator[Set]) -> int:
|
||||||
|
|
|
@ -5,14 +5,14 @@ from .expr import Expr, Node, T
|
||||||
from .geometry import Point, Segment
|
from .geometry import Point, Segment
|
||||||
from typing import (
|
from typing import (
|
||||||
Any,
|
Any,
|
||||||
|
Callable,
|
||||||
Dict,
|
Dict,
|
||||||
Iterator,
|
FrozenSet,
|
||||||
Generic,
|
Generic,
|
||||||
|
Iterator,
|
||||||
List,
|
List,
|
||||||
Optional,
|
Optional,
|
||||||
Set,
|
Set,
|
||||||
FrozenSet,
|
|
||||||
Callable,
|
|
||||||
Tuple,
|
Tuple,
|
||||||
)
|
)
|
||||||
import collections
|
import collections
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
import unittest
|
|
||||||
|
|
||||||
from quoracle.expr import Expr, Node, choose
|
from quoracle.expr import Expr, Node, choose
|
||||||
from typing import Any, List, Set, FrozenSet
|
from typing import Any, List, Set, FrozenSet
|
||||||
|
import unittest
|
||||||
|
|
||||||
class TestExpr(unittest.TestCase):
|
class TestExpr(unittest.TestCase):
|
||||||
def test_quorums(self):
|
def test_quorums(self):
|
||||||
|
|
Loading…
Reference in a new issue