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

Update sphinx-gallery to 0.2.0 #1153

Merged
merged 3 commits into from
Oct 31, 2018
Merged

Conversation

QuLogic
Copy link
Member

@QuLogic QuLogic commented Oct 24, 2018

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.

@@ -98,10 +98,12 @@
release = cartopy.__version__

# Sphinx gallery configuration
from sphinx_gallery.sorting import ExampleTitleSortKey

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

Copy link
Member Author

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.

Copy link
Member

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).

@dopplershift
Copy link
Contributor

Any reason we can’t just ignore Stickler here?

@ajdawson
Copy link
Member

No, sorry meant to merge this earlier but I forgot...

@ajdawson
Copy link
Member

And apparently I can't merge a PR with failing tests from my phone... Please do the honours @dopplershift

@dopplershift dopplershift merged commit 2d02c77 into SciTools:master Oct 31, 2018
@QuLogic QuLogic added this to the 0.17 milestone Oct 31, 2018
@QuLogic QuLogic deleted the update-sg branch October 31, 2018 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants