Migrate type checker to ty

Much faster than mypy. Matches usage of ruff from same developer.
This commit is contained in:
Kovid Goyal
2026-07-04 09:16:05 +05:30
parent bb452f2066
commit a65b4c70a7
45 changed files with 218 additions and 238 deletions

View File

@@ -84,7 +84,7 @@ class PathCompleter:
import readline
from .dircolors import Dircolors
if 'libedit' in readline.__doc__:
if 'libedit' in getattr(readline, '__doc__', '') or '':
readline.parse_and_bind("bind -e")
readline.parse_and_bind("bind '\t' rl_complete")
else: