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

DM-37634: Update logBrowser to take ready-made butler #16

Merged
merged 6 commits into from Jan 19, 2023

Conversation

mfisherlevine
Copy link
Contributor

No description provided.

like. If this is the case, take the first part of the message that is
common among the ones you would like to be classed together, and add it to
the class property ``SPECIAL_ZOO_CASES`` to declare a new type of error
animal.

example usage:

Choose a reason for hiding this comment

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

You can put this into its own Numpydoc section, i.e.:

Examples
--------

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The reason I didn't want to do that is that sometimes those are actually considered literally runnable, and this one certainly isn't and could not really ever be, realistically, given the need for a butler and a collection.

Choose a reason for hiding this comment

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

Fair enough - in which case, as it is looks good!

@leeskelvin
Copy link

Thanks Merlin, interesting stuff! Apologies for going out of the bounds of the changes a couple of times! I restricted myself from recommending more file-wide changes (e.g., single quotes to double, one-line doc strings wrapped to a single line) - this looks good to me! 👍

Comment on lines +62 to +64
SPECIAL_ZOO_CASES = [
'with gufunc signature (n?,k),(k,m?)->(n?,m?)',
]

Choose a reason for hiding this comment

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

PS - I think my comment may have been lost in the noise, but you can wrap this onto one line if you wish (the trailing comma led me to put it as above, but one line works just fine).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There will almost certainly be new things added to that, so the one-line-per-item thing should fit better in the long run here, I think.

@mfisherlevine mfisherlevine merged commit c77ded4 into main Jan 19, 2023
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