-
Notifications
You must be signed in to change notification settings - Fork 161
Conversation
@carlosalberto it's mostly cosmetic and fixing the warnings. I think it can go in before having conflicts with newer PRs? |
opentracing/tracer.py
Outdated
@@ -108,7 +108,7 @@ def start_active_span(self, | |||
:param finish_on_close: whether span should automatically be finished | |||
when `Scope#close()` is called. | |||
|
|||
:return: a `Scope`, already registered via the `ScopeManager`. | |||
:return: a `Scope`, already registered via the `ScopeManager`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Double backquotes maybe?
opentracing/tracer.py
Outdated
@@ -57,7 +57,7 @@ def active_span(self): | |||
Tracer.scope_manager.active.span, and None will be returned if | |||
Scope.span is None. | |||
|
|||
:return: returns the active Span. | |||
:return: the active Span. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Backquote(s) here maybe, too?
@palazzem Oh, definitely. @Kyle-Verhoog thanks for the patch. Left a pair of comments for you ;) Thank you so much for jumping in with the docs effort! |
@carlosalberto this should be good to go 😄 |
Hey @Kyle-Verhoog thanks a lot for the iteration ;) I was wondering, as a general doubt/idea, whether we should use I say this because, upon rendering your effort (through What do you know? Do you have an opinion on this? Thanks a lot and let me know ;) |
@carlosalberto yeah it crossed my mind as I was making some of the fixes (whether or not to just do all of the formatting). I decided just to fix up the ones I came across, but maybe this is a good opportunity to just format all the things? I think it might be overkill to format all the I personally don't have any strong opinions as long as things are consistent (which they currently aren't). 😄 I can go ahead and format all the things if we want to do that in this PR. |
Hey @Kyle-Verhoog Thanks for the answer. I'd go for the formatting in case you have time - else, we can merge this PR (as this is definitely an improvement). Le me know ;) cc @yurishkuro |
- use :meth: :class: :attr: and :exc: where possible - convert mentions of instances of classes to lowercase - add argument types - use double backtick for inline code and operators
@carlosalberto I went ahead and tried to make everything consistent. Let me know what you think. |
@Kyle-Verhoog I have to say I didn't expect to have ' Maybe @yurishkuro can give his opinion on this? ;) |
@palazzem Hey, what's your take on this, btw? Hopefully we can get this going to get closer to the actual release ;) |
@Kyle-Verhoog sorry for the late feedback - busy times here... Anyway, I think the best would be merge your changes, but without the last commit - sorry for making you lose time on that last iteration :( Let us know and we will merge this PR prior to the long delayed release ;) |
@carlosalberto sure, whatever you think works best. To make the case for my changes: I found that, for example, " But I understand if this opinion is not shared. In hindsight it would have been good to break off those change into another commit.. 😛 |
Hey @Kyle-Verhoog thanks for the explanation. So I was trying to follow the pattern I had seen in But I'd say we don't need to have a link per each |
@carlosalberto ah, I see. I can revert my changes on the lower-casing and follow a similar style to the I'd rather see some of the work in that last commit kept since a bunch of type annotations were also added, along with some other improvements. I'm fine with whatever you decide. Let me know if I should go ahead with those changes, I can get those done today still! 😄 |
Hey @Kyle-Verhoog sorry for not answering before.
Yes, if you have some time.
Oh, definitely ;) |
@carlosalberto let me know what you think! |
Oh, lovely, thanks a lot @Kyle-Verhoog ! Unless @yurishkuro disagrees, I think we should merge this soon ;) |
@carlosalberto all good from my side! Thank you very much @Kyle-Verhoog! |
Merged, thanks ;) |
Building (and reading through) the documentation revealed a number of issues:
This PR fixes these warnings.
This PR also attempts to:
:meth:
,:attr:
,:class:
and:exc:
where possible to make navigating the docs much easier.@palazzem