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

Modernize infrastructure #123

Merged
merged 23 commits into from
Mar 21, 2017
Merged

Conversation

dopplershift
Copy link
Member

This is bringing us up to date with what I consider "current" infrastructure:

  • Use sphinx-gallery
  • Build with sphinx linkcheck and warnings as errors
  • Use pytest-flake8 for linting
  • Use appveyor's built-in test result reporting

Always upload coverage results (regardless of success/failure). Also
include information about platform and python version to make
distinguishing builds on codecov easier.
This allows us to click on builds and see failing tests.
This is the first stage of moving to sphinx-gallery.
This makes us compatible with sphinx-gallery.
This is a simpler way to do lint checking.
@dopplershift dopplershift mentioned this pull request Mar 18, 2017
15 tasks
@dopplershift dopplershift force-pushed the infra-updates branch 4 times, most recently from 74e9fc2 to 33fa728 Compare March 18, 2017 22:04
This accounts for moving linting to pytest-flake8 and for the fact that
the doc build also handles running examples.
This didn't catch anything other than a few suboptimal comprehensions.
Also add flake8 plugin for checking copyright.
Also enable flake8-pep3101.
Also enable flake8-import-order.
Copy link
Collaborator

@lesserwhirls lesserwhirls left a comment

Choose a reason for hiding this comment

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

As far as I can tell, these changes look good.

@lesserwhirls
Copy link
Collaborator

Ready to be merged @dopplershift?

@dopplershift
Copy link
Member Author

@lesserwhirls Was going to:

  1. Install flake8-quotes and make sure the tests actually fail
  2. Fix quoting

@lesserwhirls
Copy link
Collaborator

That works. Just let me know.

This will also get us the examples on Windows.
With only the last 50 revisions, we might not get enough for git
describe to work.
@dopplershift dopplershift force-pushed the infra-updates branch 2 times, most recently from e6b8899 to c897be2 Compare March 20, 2017 18:20
CartoPy "plotting" extra pulls in GDAL, which is just a step too far for
us to install just to run examples.
@dopplershift
Copy link
Member Author

I think this is good to go now.

@lesserwhirls
Copy link
Collaborator

codecov is failing, but just barely (down 0.01%). I'd merge it in as is, but I don't have permissions on github to override the check.

@lesserwhirls lesserwhirls merged commit 702be20 into Unidata:master Mar 21, 2017
@dopplershift dopplershift deleted the infra-updates branch March 21, 2017 18:41
@dopplershift dopplershift modified the milestone: 0.4.1 Mar 31, 2017
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.

2 participants