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

Remove unused imports in __init__.py files by default #1042

Merged
merged 1 commit into from
Dec 4, 2022

Conversation

charliermarsh
Copy link
Member

This PR makes the current F401 behavior (of flagging, but not removing unused imports in __init__.py files) opt-in, rather than enabled-for-all.

See: #484.

@charliermarsh charliermarsh changed the title Remove unused imports in __init__.py files by default Remove unused imports in __init__.py files by default Dec 4, 2022
@charliermarsh charliermarsh merged commit 7643923 into main Dec 4, 2022
@charliermarsh charliermarsh deleted the charlie/ignore-init-module-imports branch December 4, 2022 19:45
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.

1 participant