File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -456,7 +456,7 @@ def do(self) -> None:
456456class show_history (Command ):
457457 def do (self ) -> None :
458458 from .pager import get_pager
459- from site import gethistoryfile # type: ignore[attr-defined]
459+ from site import gethistoryfile
460460
461461 history = os .linesep .join (self .reader .history [:])
462462 self .reader .console .restore ()
Original file line number Diff line number Diff line change 1919
2020from __future__ import annotations
2121
22- import _colorize # type: ignore[import-not-found]
22+ import _colorize
2323
2424from abc import ABC , abstractmethod
2525import ast
@@ -162,7 +162,7 @@ def __init__(
162162 * ,
163163 local_exit : bool = False ,
164164 ) -> None :
165- super ().__init__ (locals = locals , filename = filename , local_exit = local_exit ) # type: ignore[call-arg]
165+ super ().__init__ (locals = locals , filename = filename , local_exit = local_exit )
166166 self .can_colorize = _colorize .can_colorize ()
167167
168168 def showsyntaxerror (self , filename = None , ** kwargs ):
Original file line number Diff line number Diff line change 2626from contextlib import contextmanager
2727from dataclasses import dataclass , field , fields
2828import unicodedata
29- from _colorize import can_colorize , ANSIColors # type: ignore[import-not-found]
29+ from _colorize import can_colorize , ANSIColors
3030
3131
3232from . import commands , console , input
Original file line number Diff line number Diff line change 3232from dataclasses import dataclass , field
3333
3434import os
35- from site import gethistoryfile # type: ignore[attr-defined]
35+ from site import gethistoryfile
3636import sys
3737from rlcompleter import Completer as RLCompleter
3838
You can’t perform that action at this time.
0 commit comments