summaryrefslogtreecommitdiff
path: root/venv/lib/python3.11/site-packages/rich/_extension.py
diff options
context:
space:
mode:
Diffstat (limited to 'venv/lib/python3.11/site-packages/rich/_extension.py')
-rw-r--r--venv/lib/python3.11/site-packages/rich/_extension.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/venv/lib/python3.11/site-packages/rich/_extension.py b/venv/lib/python3.11/site-packages/rich/_extension.py
new file mode 100644
index 0000000..3865886
--- /dev/null
+++ b/venv/lib/python3.11/site-packages/rich/_extension.py
@@ -0,0 +1,10 @@
+from typing import Any
+
+
+def load_ipython_extension(ip: Any) -> None: # pragma: no cover
+ # prevent circular import
+ from rich.pretty import install
+ from rich.traceback import install as tr_install
+
+ install()
+ tr_install()