mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 20:35:00 +00:00
style: Format code with consistent quotes and spacing
This commit is contained in:
parent
520eb4a932
commit
2d8bc95bae
1 changed files with 11 additions and 11 deletions
|
@ -16,7 +16,7 @@ def main():
|
||||||
output_file = sys.argv[2]
|
output_file = sys.argv[2]
|
||||||
|
|
||||||
# Count total lines for progress bar
|
# Count total lines for progress bar
|
||||||
total_lines = sum(1 for _ in open(input_file, 'r'))
|
total_lines = sum(1 for _ in open(input_file, "r"))
|
||||||
|
|
||||||
with open(input_file, "r") as fin, open(output_file, "w") as fout:
|
with open(input_file, "r") as fin, open(output_file, "w") as fout:
|
||||||
# Process header
|
# Process header
|
||||||
|
@ -34,7 +34,7 @@ def main():
|
||||||
stream = pyte.Stream(screen)
|
stream = pyte.Stream(screen)
|
||||||
|
|
||||||
# Process events line by line
|
# Process events line by line
|
||||||
for line in tqdm(fin, desc="Processing events", total=total_lines-1):
|
for line in tqdm(fin, desc="Processing events", total=total_lines - 1):
|
||||||
if not line.strip():
|
if not line.strip():
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue