You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a collection of things I noticed in the Aider code base while working on it. These should all be trivial to clean up without changing behavior or breaking anything. I'm happy to make a PR or PRs for these if needed.
Variable added_fnames in cmd_add is only modified, never read
defexpand_subdir(file_path):
file_path=Path(file_path)
iffile_path.is_file():
yieldfile_path# <-- this is a `Path`returniffile_path.is_dir():
forfileinfile_path.rglob("*"):
iffile.is_file():
yieldstr(file) # <-- this is a `str`
Issue
This is a collection of things I noticed in the Aider code base while working on it. These should all be trivial to clean up without changing behavior or breaking anything. I'm happy to make a PR or PRs for these if needed.
Variable
added_fnames
incmd_add
is only modified, never readexpand_subdir()
yields bothPath
s andstr
sVersion and model info
Aider 0.52.2-dev 483b7ec
The text was updated successfully, but these errors were encountered: