mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Pylint fixes
This commit is contained in:
@@ -28,7 +28,6 @@ class `BenchmarkDoctor` analyzes performance tests, implements `check` COMMAND.
|
||||
import argparse
|
||||
import functools
|
||||
import glob
|
||||
import json
|
||||
import logging
|
||||
import math
|
||||
import os
|
||||
@@ -150,9 +149,9 @@ class BenchmarkDriver(object):
|
||||
try:
|
||||
number = int(columns[0])
|
||||
name = columns[1]
|
||||
json = {"number": number, "name": name}
|
||||
json_tests.append(json)
|
||||
except Exception as e:
|
||||
json_descr = {"number": number, "name": name}
|
||||
json_tests.append(json_descr)
|
||||
except Exception:
|
||||
continue
|
||||
# TODO: Replace the above with the following to
|
||||
# use the JSON output from the benchmark driver
|
||||
|
||||
Reference in New Issue
Block a user