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

Behaviour Toggle for nested imports #1287

Closed
blisc opened this issue Jul 6, 2020 · 2 comments
Closed

Behaviour Toggle for nested imports #1287

blisc opened this issue Jul 6, 2020 · 2 comments

Comments

@blisc
Copy link

blisc commented Jul 6, 2020

From the changelog:

  • isort now formats all nested "as" imports in the "from" form. import x.y as a becomes from x import y as a.

Is it possible to have an option that disables this behaviour?

@keewis
Copy link

keewis commented Jul 7, 2020

this might be a duplicate of #1280?

@blisc
Copy link
Author

blisc commented Jul 7, 2020

You're right, it is. Thanks for pointing it out

@blisc blisc closed this as completed Jul 7, 2020
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