Skip to content

Commit

Permalink
fix: namedtuple syntax Mypy is happy with
Browse files Browse the repository at this point in the history
  • Loading branch information
akaihola committed Sep 30, 2024
1 parent f61d09e commit e2a2489
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aider/repomap.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
warnings.simplefilter("ignore", category=FutureWarning)
from tree_sitter_languages import get_language, get_parser # noqa: E402

Tag = namedtuple("Tag", "rel_fname fname line name kind".split())
Tag = namedtuple("Tag", ("rel_fname", "fname", "line", "name", "kind"))


SQLITE_ERRORS = (sqlite3.OperationalError, sqlite3.DatabaseError)
Expand Down

0 comments on commit e2a2489

Please sign in to comment.