mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 16:54:59 +00:00
style: Fix linting issues
This commit is contained in:
parent
34da3dd3d7
commit
78e643970d
1 changed files with 2 additions and 2 deletions
|
@ -189,11 +189,11 @@ def analyze_exercise_solutions(dirs=None, topn=None):
|
||||||
# Count total problems and hard set problems by language
|
# Count total problems and hard set problems by language
|
||||||
lang_totals = defaultdict(int)
|
lang_totals = defaultdict(int)
|
||||||
lang_hard_counts = defaultdict(int)
|
lang_hard_counts = defaultdict(int)
|
||||||
|
|
||||||
for exercise in all_exercises:
|
for exercise in all_exercises:
|
||||||
lang = exercise.split("/")[1] # Get language from path
|
lang = exercise.split("/")[1] # Get language from path
|
||||||
lang_totals[lang] += 1
|
lang_totals[lang] += 1
|
||||||
|
|
||||||
for exercise in hard_set:
|
for exercise in hard_set:
|
||||||
lang = exercise.split("/")[1] # Get language from path
|
lang = exercise.split("/")[1] # Get language from path
|
||||||
lang_hard_counts[lang] += 1
|
lang_hard_counts[lang] += 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue