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

Small cosmetic change #874

Merged
merged 1 commit into from
Aug 21, 2018
Merged

Small cosmetic change #874

merged 1 commit into from
Aug 21, 2018

Conversation

WaxyMocha
Copy link
Contributor

No description provided.

Copy link
Member

@davvid davvid left a comment

Choose a reason for hiding this comment

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

Hi, thanks for the sug. Please move the imports near the top of the file, below import os, rather than inline in the function.

When committing, please sign off on your commits (Ctrl+i in the commit message editor). Please read here for what it means to signoff on your commits in this project:

https://github.com/git-cola/git-cola/blob/master/CONTRIBUTING.md#sign-your-work

Lastly, please rebase and squash your commits together so that we don't have that intermediate whitespace commit. I use a lot of "fixup" commits for that kinda stuff.

I forgot to mention that (unfortunately) there's a duplicate stanza in bin/git-dag that needs to be updated in tandem. Any change like this one that lessens the number of lines of code in the standalone scripts is a good change.

Thanks!

@WaxyMocha
Copy link
Contributor Author

Is placement of import ok? I like to separate different imports, so I've separate it with additional newline.

@WaxyMocha
Copy link
Contributor Author

Wait, it failed? Why?

Signed-off-by: Jakub Szymański <jakubmateusz@poczta.onet.pl>
@WaxyMocha
Copy link
Contributor Author

below import os

I did not know you mean EXACTLY under import os, should be ok now.

@davvid
Copy link
Member

davvid commented Aug 21, 2018

Thank you so much for fixing these, much appreciated.

davvid added a commit to davvid/git-cola that referenced this pull request Aug 21, 2018
* WaxyMocha/patch-1:
  Switch from assigning aliases to importing used functions.

Signed-off-by: David Aguilar <davvid@gmail.com>
@davvid davvid merged commit 4889bbd into git-cola:master Aug 21, 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

2 participants