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

autoflake.py: Add --ignore-init-module-imports #42

Merged
merged 1 commit into from
Dec 23, 2018

Conversation

CLiu13
Copy link
Contributor

@CLiu13 CLiu13 commented Oct 28, 2018

When used, this new CLI argument will cause
autoflake to ignore unused imports when
checking any __init__.py files.

New tests have also been added to
accompany this new feature.

Closes #35

@CLiu13 CLiu13 force-pushed the keep-imports branch 4 times, most recently from 13e18a3 to 9cd64e7 Compare October 28, 2018 05:17
@coveralls
Copy link

coveralls commented Oct 28, 2018

Coverage Status

Coverage increased (+0.01%) to 99.531% when pulling a3d8f96 on CLiu13:keep-imports into 83258a0 on myint:master.

autoflake.py Outdated Show resolved Hide resolved
autoflake.py Outdated Show resolved Hide resolved
autoflake.py Outdated Show resolved Hide resolved
test_autoflake.py Outdated Show resolved Hide resolved
test_autoflake.py Outdated Show resolved Hide resolved
test_autoflake.py Outdated Show resolved Hide resolved
test_autoflake.py Outdated Show resolved Hide resolved
test_autoflake.py Outdated Show resolved Hide resolved
autoflake.py Outdated Show resolved Hide resolved
test_autoflake.py Show resolved Hide resolved
Copy link
Member

@myint myint left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

autoflake.py Outdated Show resolved Hide resolved
When used, this new CLI argument will cause
autoflake to ignore unused imports when
checking any __init__.py files.

New tests have also been added to
accompany this new feature.

Closes PyCQA#35
@myint myint merged commit 9fe7aae into PyCQA:master Dec 23, 2018
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

Successfully merging this pull request may close these issues.

None yet

4 participants