Skip to content

Fix doctring indentation issue in #241 #289

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

Merged
merged 1 commit into from
Jun 14, 2015
Merged

Fix doctring indentation issue in #241 #289

merged 1 commit into from
Jun 14, 2015

Conversation

sandhu
Copy link
Contributor

@sandhu sandhu commented Apr 27, 2015

Added code to only apply the prefix if the current indent level is <=
the default prefix spacing.

@bbatsov
Copy link
Member

bbatsov commented Apr 29, 2015

We need to implement some indentation tests first. See my comments here #283

If you get the ball rolling on the tests, I'll gladly accept the patch. As it stands, with no indentation tests every change is a potential problem and I'd rather avoid those.

@sandhu
Copy link
Contributor Author

sandhu commented Apr 30, 2015

Fair point. I'll look into creating the tests.

@bbatsov
Copy link
Member

bbatsov commented May 17, 2015

@sandhu Ping :-)

@bbatsov
Copy link
Member

bbatsov commented May 17, 2015

Btw, I just added some basic indentation tests to get you started.

@expez
Copy link
Member

expez commented Jun 11, 2015

@sandhu Did you get around to looking at the tests for this fix?

@sandhu
Copy link
Contributor Author

sandhu commented Jun 11, 2015

Sorry. Seem to have missed the ping from @bbatsov as well.

Will take a look at them this weekend and update the PR.

@sandhu
Copy link
Contributor Author

sandhu commented Jun 13, 2015

Added the doc string indentation tests

@expez
Copy link
Member

expez commented Jun 13, 2015

Cool. Could you squash the commits?

@sandhu
Copy link
Contributor Author

sandhu commented Jun 13, 2015

Done.

@expez
Copy link
Member

expez commented Jun 13, 2015

There's still an empty merge commit.

@sandhu
Copy link
Contributor Author

sandhu commented Jun 13, 2015

I've removed the merge commit, but I now have merge conflicts. Will add it back in.

@sandhu
Copy link
Contributor Author

sandhu commented Jun 13, 2015

I've added the merge commit back in since it shows conflicts without it there.

@expez
Copy link
Member

expez commented Jun 13, 2015

We don't want merge commits polluting our history. In the contribution guidelines there's this link about how to rebase to avoid creating merge commits.

git rebase is a very powerful tool so even if this is pissing you off, your future self will benefit from having learned about it :)

@bbatsov
Copy link
Member

bbatsov commented Jun 13, 2015

You should rebase on top of the current master.

On Saturday, June 13, 2015, Achint Sandhu [email protected] wrote:

I've added the merge commit back in since it shows conflicts without it
there.


Reply to this email directly or view it on GitHub
#289 (comment)
.

Best Regards,
Bozhidar Batsov

http://www.batsov.com

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Added code to only apply the prefix if the current indent level is <=
the default prefix spacing.
@sandhu
Copy link
Contributor Author

sandhu commented Jun 13, 2015

I don't generally rebase since it's not an accurate reflection of the history, but since it's your repo, I'm happy to play along. :-)

Just pushed a rebased version.

bbatsov added a commit that referenced this pull request Jun 14, 2015

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix doctring indentation issue in #241
@bbatsov bbatsov merged commit 4815653 into clojure-emacs:master Jun 14, 2015
@bbatsov
Copy link
Member

bbatsov commented Jun 14, 2015

Thanks!

@sandhu
Copy link
Contributor Author

sandhu commented Jun 14, 2015

No worries. Thanks for the merge.

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

3 participants