[refurb] Implement reimplemented-starmap rule (FURB140) (#7253)

## Summary

This PR is part of a bigger effort of re-implementing `refurb` rules
#1348. It adds support for
[FURB140](https://github.com/dosisod/refurb/blob/master/refurb/checks/itertools/use_starmap.py)

## Test Plan

I included a new test + checked that all other tests pass.
This commit is contained in:
Valeriy Savchenko
2023-09-19 03:18:54 +01:00
committed by GitHub
parent c6ba7dfbc6
commit 4123d074bd
9 changed files with 562 additions and 16 deletions

1
ruff.schema.json generated
View File

@@ -2091,6 +2091,7 @@
"FURB131",
"FURB132",
"FURB14",
"FURB140",
"FURB145",
"G",
"G0",