From 01088e214c6bce19f2064776a8195964eec3f6d4 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Wed, 18 Dec 2024 13:08:51 -0800 Subject: [PATCH] style: Run linter on problem_stats.py --- benchmark/problem_stats.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/benchmark/problem_stats.py b/benchmark/problem_stats.py index b8f3a3c1d..06c9caf0a 100755 --- a/benchmark/problem_stats.py +++ b/benchmark/problem_stats.py @@ -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:")