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 Aug 29, 2024
1 parent 6503eb7 commit 635a13e
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 @@ -23,7 +23,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"))


class RepoMap:
Expand Down

0 comments on commit 635a13e

Please sign in to comment.