mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-14 12:34:44 +02:00
Migrate type checker to ty
Much faster than mypy. Matches usage of ruff from same developer.
This commit is contained in:
@@ -605,7 +605,7 @@ def load_ref_map() -> dict[str, dict[str, str]]:
|
||||
raw = f.read()
|
||||
raw = raw.split('{', 1)[1].split('}', 1)[0]
|
||||
data = json.loads(bytes(bytearray(json.loads(f'[{raw}]'))))
|
||||
return data # type: ignore
|
||||
return data
|
||||
|
||||
|
||||
def generate_constants() -> str:
|
||||
|
||||
Reference in New Issue
Block a user