Skip to content

Commit

Permalink
Sort types alphabetically
Browse files Browse the repository at this point in the history
  • Loading branch information
Mauko Quiroga committed Sep 7, 2021
1 parent c56b57d commit a89640f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openfisca_core/commons/typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

from nptyping import NDArray as Array

_Types = TypeVar("_Types", float, int, str, bool)
_Array = Union[Array[float], Array[int], Array[str], Array[bool]]
_Types = TypeVar("_Types", bool, float, int, str)
_Array = Union[Array[bool], Array[float], Array[int], Array[str]]
ArrayLike = Union[_Array, Sequence[_Types]]
""":obj:`.Generic`: Type of any castable to :class:`.ndarray`.
Expand Down

0 comments on commit a89640f

Please sign in to comment.