Skip to content

[New Rule] replace zip(d.keys(), d.values()) with d.items() #161

@GideonBear

Description

@GideonBear

Explanation

It's shorter and more pythonic

Example

# Bad
zip(d.keys(), d.values())

# Good
d.items()

If this is accepted, I would be interested in implementing this.
Thanks for the great flake8 plugin!

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions