mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 08:44:59 +00:00
Removed unnecessary variables and function call in the process function.
This commit is contained in:
parent
44ba0fd139
commit
ae5d1dae7e
1 changed files with 0 additions and 4 deletions
|
@ -56,9 +56,6 @@ def get_aider_commits():
|
||||||
|
|
||||||
def process(fnames):
|
def process(fnames):
|
||||||
aider_commits = get_aider_commits()
|
aider_commits = get_aider_commits()
|
||||||
total_lines = 0
|
|
||||||
total_aider_lines = 0
|
|
||||||
|
|
||||||
for fname in fnames:
|
for fname in fnames:
|
||||||
num_lines, num_aider_lines = get_lines_with_commit_hash(fname, aider_commits)
|
num_lines, num_aider_lines = get_lines_with_commit_hash(fname, aider_commits)
|
||||||
total_lines += num_lines
|
total_lines += num_lines
|
||||||
|
@ -66,7 +63,6 @@ def process(fnames):
|
||||||
print(f"{fname}: {num_aider_lines}/{num_lines} lines modified by aider")
|
print(f"{fname}: {num_aider_lines}/{num_lines} lines modified by aider")
|
||||||
|
|
||||||
print(f"Total: {total_aider_lines}/{total_lines} lines modified by aider")
|
print(f"Total: {total_aider_lines}/{total_lines} lines modified by aider")
|
||||||
get_lines_with_commit_hash(fname, aider_commits)
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
if len(sys.argv) < 2:
|
if len(sys.argv) < 2:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue