Merge pull request #2109 from henryiii/henryiii/fix/pyclnunused

fix: keep pycln from removing load_ipython_extension
This commit is contained in:
Will McGugan 2022-03-26 15:32:24 +00:00 committed by GitHub
commit 7a7f1fdb00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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"]

View File

@ -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