from overrides import overrides
from pyutils.collectionz import bst
-from pyutils.typez.simple import Numeric
+from pyutils.typez.typing import Numeric
@total_ordering
from typing import Dict, Generator, List, Optional, Set, Tuple
from pyutils import list_utils
-from pyutils.typez.simple import Numeric
+from pyutils.typez.typing import Numeric
class Graph(object):
from typing import Dict, List, Optional, Tuple
from pyutils import dict_utils
-from pyutils.typez.simple import Numeric
+from pyutils.typez.typing import Numeric
class NumericPopulation(object):
count[-n] += 1
for n in self.highers:
count[n] += 1
- return dict_utils.item_with_max_value(count)
+ return dict_utils.item_with_max_value(count) # type: ignore
def get_stdev(self) -> float:
"""
+++ /dev/null
-#!/usr/bin/env python3
-
-# © Copyright 2021-2023, Scott Gasch
-
-"""Simple type helpers."""
-
-from typing import Union
-
-Numeric = Union[int, float]
"""My type hints."""
from abc import abstractmethod
-from typing import Any, Protocol
+from typing import Any, Protocol, Union
+
+Numeric = Union[int, float]
class Comparable(Protocol):