-
Notifications
You must be signed in to change notification settings - Fork 366
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
Update sphinx-gallery to 0.2.0 #1153
Conversation
@@ -98,10 +98,12 @@ | |||
release = cartopy.__version__ | |||
|
|||
# Sphinx gallery configuration | |||
from sphinx_gallery.sorting import ExampleTitleSortKey |
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.
E402 module level import not at top of file
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.
This warning is disabled in our setup.cfg
; don't know why @stickler-ci is posting about it.
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.
The flake8 config is also supposed to ignore this file (assuming it is reading setup.cfg).
Any reason we can’t just ignore Stickler here? |
No, sorry meant to merge this earlier but I forgot... |
And apparently I can't merge a PR with failing tests from my phone... Please do the honours @dopplershift |
Rationale
We currently only support a single version of sphinx-gallery due to patching; this updates to the latest one.
Implications
I also changed the sorting to use the title of the example, which I personally think makes more sense than number of lines.