Skip to content

Commit db02f7f

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 50f483c commit db02f7f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

asv_bench/benchmarks/indexing.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,7 @@ def setup(self, key):
7878
# Benchmark how indexing is slowed down by adding many scalar variable
7979
# to the dataset
8080
# https://github.com/pydata/xarray/pull/9003
81-
self.ds_large = self.ds.merge({
82-
f"extra_var{i}": i
83-
for i in range(400)
84-
})
81+
self.ds_large = self.ds.merge({f"extra_var{i}": i for i in range(400)})
8582

8683

8784
class Indexing(Base):

0 commit comments

Comments
 (0)