11 Commits

Author SHA1 Message Date
Kovid Goyal
da1626090a Update codebase to Python 3.10 using pyupgrade 2025-02-03 10:56:50 +05:30
Kovid Goyal
f1d0d0949b Run pyupgrade to update the codebase to python 3.9
Gets rid of a lot of typing ugliness by using type annotations on
builtin types
2024-07-31 07:55:27 +05:30
Kovid Goyal
bd1aed43ec Check for leftovers when tokenizing 2024-02-25 09:57:44 +05:30
Kovid Goyal
7727cd45cf Delay load replacements as well 2024-02-25 09:57:44 +05:30
Kovid Goyal
4ee5b94584 Improve typing info for lex_scanner 2024-02-25 09:57:44 +05:30
Kovid Goyal
da88eaeb23 Hide tracebacks for parse errors of match expressions 2023-08-25 14:38:34 +05:30
Kovid Goyal
8a9306d1bf Nicer error message when unknown location specified in search query 2023-08-25 14:34:39 +05:30
Kovid Goyal
7fe5d7b58f Replace isort with ruff 2023-01-09 16:47:42 +05:30
Kovid Goyal
2e8ef66496 Another mypy update another round of spurious errors 2022-11-08 17:17:40 +05:30
Kovid Goyal
93a7b220c9 Fix parsing of quoted words 2022-04-12 19:31:56 +05:30
Kovid Goyal
8f92c594f2 Create a search query parser 2022-04-12 19:26:25 +05:30