xonsh/xonsh/lazyimps.py
Andy Kipp 0656eb3d3e
refactoring: deprecation warnings and revert shell moving for backwards compatibility (#5575)
* deprecation warnings

* deprecation warnings

* deprecation warnings

* restore shell

* restore shell

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: a <1@1.1>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-07-04 17:24:04 +02:00

11 lines
251 B
Python

"""DEPRECATED: Use `xonsh.lib.lazyasd` instead of `xonsh.lazyimps`."""
import warnings
warnings.warn(
"Use `xonsh.lib.lazyimps` instead of `xonsh.lazyimps`.",
DeprecationWarning,
stacklevel=2,
)
from xonsh.lib.lazyimps import * # noqa