diff --git a/pymc/__init__.py b/pymc/__init__.py index a57be7f7c6e..27cdf6e2bb8 100644 --- a/pymc/__init__.py +++ b/pymc/__init__.py @@ -69,7 +69,6 @@ def __set_compiler_flags(): from pymc.printing import * from pymc.sampling import * from pymc.sampling_forward import * -from pymc.sampling_utils import * from pymc.smc import * from pymc.stats import * from pymc.step_methods import * diff --git a/pymc/sampling_utils.py b/pymc/sampling_utils.py deleted file mode 100644 index 5ba1094ce33..00000000000 --- a/pymc/sampling_utils.py +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 2022 The PyMC Developers -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -"""Helper functions for MCMC, prior and posterior predictive sampling.""" - -from typing import Union - -from typing_extensions import TypeAlias - -from pymc.backends.base import BaseTrace, MultiTrace -from pymc.backends.ndarray import NDArray - -Backend: TypeAlias = Union[BaseTrace, MultiTrace, NDArray] - -__all__ = () diff --git a/scripts/run_mypy.py b/scripts/run_mypy.py index 0fc6fcbe645..2b55afdddf3 100644 --- a/scripts/run_mypy.py +++ b/scripts/run_mypy.py @@ -53,7 +53,6 @@ pymc/plots/__init__.py pymc/sampling.py pymc/sampling_forward.py -pymc/sampling_utils.py pymc/smc/__init__.py pymc/smc/sampling.py pymc/smc/kernels.py