Skip to content

Commit

Permalink
sorted imports
Browse files Browse the repository at this point in the history
  • Loading branch information
SindhuraParuchuri committed Jan 25, 2024
1 parent 1675c5b commit 4b5a829
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 30 deletions.
27 changes: 7 additions & 20 deletions epymorph/simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,31 +6,18 @@
from functools import partial
from importlib import reload
from time import perf_counter
from typing import (
Any,
Callable,
Generator,
NamedTuple,
Protocol,
Self,
Sequence,
runtime_checkable,
)
from typing import (Any, Callable, Generator, NamedTuple, Protocol, Self,
Sequence, runtime_checkable)

import numpy as np
from numpy.random import SeedSequence

from epymorph.code import ImmutableNamespace, base_namespace
from epymorph.util import (
Event,
mosquito_movement_probability,
pairwise_haversine,
powerlaw_distribution_probability,
progress,
row_normalize,
subscriptions,
weibull_distribution_prob,
)
from epymorph.util import (Event, mosquito_movement_probability,
pairwise_haversine,
powerlaw_distribution_probability, progress,
row_normalize, subscriptions,
weibull_distribution_prob)

SimDType = np.int64
"""
Expand Down
12 changes: 2 additions & 10 deletions epymorph/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,8 @@
from __future__ import annotations

from contextlib import contextmanager
from typing import (
Any,
Callable,
Generator,
Generic,
Iterable,
Literal,
OrderedDict,
TypeVar,
)
from typing import (Any, Callable, Generator, Generic, Iterable, Literal,
OrderedDict, TypeVar)

import numpy as np
from numpy.typing import DTypeLike, NDArray
Expand Down

0 comments on commit 4b5a829

Please sign in to comment.