mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 08:14:59 +00:00
style: Run linter on problem_stats.py
This commit is contained in:
parent
3e4500f9fd
commit
01088e214c
1 changed files with 2 additions and 3 deletions
|
@ -3,9 +3,8 @@
|
|||
import argparse
|
||||
import json
|
||||
from collections import defaultdict
|
||||
from typing import List, Optional
|
||||
|
||||
from pathlib import Path
|
||||
from typing import List, Optional
|
||||
|
||||
import yaml
|
||||
|
||||
|
@ -191,7 +190,7 @@ def analyze_exercise_solutions(dirs=None, topn=None):
|
|||
# Count problems by language in hard set
|
||||
lang_counts = defaultdict(int)
|
||||
for exercise in hard_set:
|
||||
lang = exercise.split('/')[1] # Get language from path
|
||||
lang = exercise.split("/")[1] # Get language from path
|
||||
lang_counts[lang] += 1
|
||||
|
||||
print("\nHard set problems by language:")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue