File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ def run(self, args: List[str]) -> int:
133133 runner : BenchmarkRunner = get_runner_class (config = self .config )
134134
135135 verbose : bool = options .verbose
136- env_ids : list [str ] = options .environments or []
136+ env_ids : List [str ] = options .environments or []
137137 run_all : bool = options .run_all
138138 checkout_mode : bool = options .checkout
139139 source_ref : Optional [str ] = options .benchmark_source
Original file line number Diff line number Diff line change @@ -2,5 +2,5 @@ def get_extras():
22 """Extra pybm functionality, specified as a valid argument to
33 setuptools.setup's 'extras_require' keyword argument."""
44 extra_features = {"gbm" : ["git+https://github.com/google/benchmark" ]}
5- extra_features ["all" ] = sum (extra_features .values (), start = [])
5+ extra_features ["all" ] = sum (extra_features .values (), [])
66 return extra_features
Original file line number Diff line number Diff line change 1+ from typing import List
2+
13from setuptools import setup , find_packages
24
35
4- def get_requirements () -> list [str ]:
6+ def get_requirements () -> List [str ]:
57 with open ("requirements.txt" , "r" ) as f :
68 return f .readlines ()
79
@@ -12,7 +14,7 @@ def get_extras():
1214 extra_features = {
1315 "gbm" : ["google_benchmark @ git+https://github.com/google/benchmark" ]
1416 }
15- extra_features ["all" ] = sum (extra_features .values (), start = [])
17+ extra_features ["all" ] = sum (extra_features .values (), [])
1618 return extra_features
1719
1820
You can’t perform that action at this time.
0 commit comments