Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix warnings from flake8-comprehensions #60

Closed
Zac-HD opened this issue Nov 27, 2019 · 1 comment
Closed

Fix warnings from flake8-comprehensions #60

Zac-HD opened this issue Nov 27, 2019 · 1 comment

Comments

@Zac-HD
Copy link
Member

Zac-HD commented Nov 27, 2019

flake8-comprehensions is a lovely plugin to warn about inefficient creation of and operations on collections - and each of the warnings suggests a simple rewrite rule to resolve them. I'm not sure if this is really in scope for autoflake, but thought it worth suggesting an optional flag to do so 😄

@myint
Copy link
Member

myint commented Dec 23, 2019

Thanks for pointing out flake8-comprehensions! As you hint at in the linked issue, I think this might better align with a tool with broader scope pyflakes, which autoflake focuses on.

@Zac-HD Zac-HD closed this as completed Dec 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants