Skip to content

Commit 5e7df28

Browse files
committed
✅ Pass ruff 0.16.0 checks
1 parent 720da1d commit 5e7df28

3 files changed

Lines changed: 418 additions & 416 deletions

File tree

docs/clean-prep/dask-pipeline.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@
421421
" dist = delayed(iss_dist_from_loc)(issloc, loc)\n",
422422
" output.append((loc.get(\"name\"), dist))\n",
423423
"\n",
424-
"closest = delayed(lambda x: sorted(x, key=itemgetter(1))[0])(output)"
424+
"closest = delayed(lambda x: min(x, key=itemgetter(1)))(output)"
425425
]
426426
},
427427
{

0 commit comments

Comments
 (0)