Minor cosmetic changes.

This commit is contained in:
Michael Whittaker 2021-04-10 18:33:22 -07:00
parent cc4af2b7ad
commit 18f83b2188
3 changed files with 6 additions and 6 deletions

View file

@ -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:

View file

@ -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

View file

@ -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):