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 py2 from isort #19

Merged
merged 13 commits into from
Jan 22, 2019
Merged

Conversation

stsewd
Copy link
Member

@stsewd stsewd commented Oct 30, 2018

No description provided.

isort.cfg Outdated
@@ -22,4 +22,4 @@ default_section=THIRDPARTY
known_first_party=readthedocs,readthedocsinc
known_third_party=mock,builtins
sections=FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
add_imports=from __future__ import division, from __future__ import print_function, from __future__ import unicode_literals
remove_imports=from __future__ import division, from __future__ import print_function, from __future__ import unicode_literals
Copy link
Member

Choose a reason for hiding this comment

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

remove_imports 😍

(I didn't find it on its docs, though)

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, it was hard to find, I saw this option on the cli, and then I searched on the code

@humitos humitos mentioned this pull request Jan 8, 2019
@humitos
Copy link
Member

humitos commented Jan 22, 2019

Merging because this is what we are using for readthedocs/readthedocs.org#4543

@humitos humitos merged commit f3c2619 into readthedocs:master Jan 22, 2019
@stsewd stsewd deleted the remove-py2-from-isort branch January 22, 2019 16:48
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.

2 participants