adamchainz/flake8-comprehensions
❄️ A flake8 plugin to help you write better list/set/dict comprehensions.
PythonMIT
Issues
- 2
Misdetects non-generator parentheses
#591 opened by dfandrich - 2
Feature Request: No Useless List Unpack-Repack
#534 opened by Skylion007 - 2
- 1
Tuple in Python is not indicated by parenthesis!
#566 opened by olorin37 - 1
test_version: flake8 plugins not normalized
#558 opened by bnavigator - 1
- 15
- 1
- 15
- 8
any/all short circuiting
#426 opened by sbrugman - 0
Extend C408 to match `dict({})` etc.
#499 opened by adamchainz - 3
False positive for C416
#493 opened by mwgamble - 6
- 3
Feature request: Check for a `list` call as argument for a function that accepts any iterable
#463 opened by GideonBear - 4
C406 false positive
#260 opened by adamchainz - 1
Add zip to C407
#217 opened by joaoe - 2
Extend to C416 to dict comprehensions
#489 opened by Skylion007 - 2
Extend C41x to detect for _ in list(dict.values())
#290 opened by Lattay - 1
C402 false positive with extra kwargs to dict()
#457 opened by andersk - 3
C400 C416 loop
#454 opened by viivanofu - 2
What about adding the walrus operator := ?
#431 opened by cclauss - 2
Conflicting C416 and C400 rule
#444 opened by michaeloliverx - 9
Add the `iter()` builtin to checker `C407`
#152 opened by sauravsrijan - 1
Are there any benchmarks to prove the advantages of making each of these changes?
#191 opened by cclauss - 7
Convert `map(lambda x: expression, iterable)` to `(expression for x in iterable)`
#405 opened by sweeneyde - 2
Split dict(name=value) from C408
#418 opened by joaoe - 1
- 1
Incompatibility with flake8 4.0.0
#371 opened by amrishparmar - 2
- 5
False type for tree
#352 opened by kasium - 9
test_C416_fail_1_list fails
#313 opened by mcepl - 5
- 9
Performance implications of C412
#253 opened by javierhonduco - 10
"Unnecessary dict call" false positives
#64 opened by faulkner - 3
- 3
- 1
Add new rule for <comprehension>[0]
#59 opened by ngnpope - 1
- 4
A false positive for C416
#204 opened by arnimarj - 1
False positive C416
#203 opened by kalekseev - 4
False positive in C416
#196 opened by NoAnyLove - 2
- 2
False positive on C404
#194 opened by schinckel - 1
- 1
Add new rule for reversed(sorted(...))
#60 opened by ngnpope - 2
Integration problems with VSCode
#193 opened by sobolevn - 1
- 0
Add new rule for enumerate(<comprehension>)
#61 opened by ngnpope - 2
Add new rule for next(<comprehension>)
#57 opened by ngnpope - 3
easy english
#141 opened by vpoulailleau