-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Question: auto formatting & sorting imports #39
Comments
This is what it would look like: master...h4l:docopt-ng:isort |
Yes I LOVE autoformatters such as black and I sort. I'll just make a PR off that branch and merge? |
Awesome! Yep, please do. |
Merged
I merged #37 first to avoid merge conflicts, which then made your branch have conflicts, so I just re-implemented it myself |
Thanks @NickCrews, that's sensible. Good to move towards pyproject.toml too. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@NickCrews would you be OK with auto sorting/formatting imports (probably with isort)?
When I was rebasing the error message PR just now, and a few other branches I've got, probably 3/4 of my merge conflicts were just imports. I'm thinking it would help to use isort with the single line option, so that instead of:
we get:
Which doesn't look as nice, but means import changes shouldn't cause merge conflicts.
The text was updated successfully, but these errors were encountered: