mirror of https://github.com/Textualize/rich.git
Merge pull request #2109 from henryiii/henryiii/fix/pyclnunused
fix: keep pycln from removing load_ipython_extension
This commit is contained in:
commit
7a7f1fdb00
|
@ -3,7 +3,7 @@
|
||||||
import os
|
import os
|
||||||
from typing import Callable, IO, TYPE_CHECKING, Any, Optional, Union
|
from typing import Callable, IO, TYPE_CHECKING, Any, Optional, Union
|
||||||
|
|
||||||
from ._extension import load_ipython_extension
|
from ._extension import load_ipython_extension # noqa: F401
|
||||||
|
|
||||||
__all__ = ["get_console", "reconfigure", "print", "inspect"]
|
__all__ = ["get_console", "reconfigure", "print", "inspect"]
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ import platform
|
||||||
import sys
|
import sys
|
||||||
from dataclasses import dataclass, field
|
from dataclasses import dataclass, field
|
||||||
from traceback import walk_tb
|
from traceback import walk_tb
|
||||||
from types import FrameType, ModuleType, TracebackType
|
from types import ModuleType, TracebackType
|
||||||
from typing import Any, Callable, Dict, Iterable, List, Optional, Sequence, Type, Union
|
from typing import Any, Callable, Dict, Iterable, List, Optional, Sequence, Type, Union
|
||||||
|
|
||||||
from pygments.lexers import guess_lexer_for_filename
|
from pygments.lexers import guess_lexer_for_filename
|
||||||
|
|
Loading…
Reference in New Issue