refurb icon indicating copy to clipboard operation
refurb copied to clipboard

Adding partial to the functools category

Open Clement-Lelievre opened this issue 2 years ago • 1 comments

Overview

As the title suggests... adding partial to the functools category

Proposal

I checked the available errors falling under the functools category in version 1.9.1 and found exactly one item ('use cache'). I think adding partial would be a good addition, both for code legibility and -in some cases at least- performance.

Note: this is one of many items I can think of. If this is useful I could suggest more enhancements.

Clement-Lelievre avatar Jan 02 '23 16:01 Clement-Lelievre

Thank you for suggesting this! I don't use partial very often, but it would be good to add a check for it.

dosisod avatar Jan 03 '23 03:01 dosisod