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

Fix hawkins sutton smoke tests, linting #1769

Merged
merged 6 commits into from
Jun 7, 2024
Merged

Conversation

Zeitsperre
Copy link
Collaborator

@Zeitsperre Zeitsperre commented Jun 7, 2024

Pull Request Checklist:

  • This PR addresses an already opened issue (for bug fixes / features)
    • This PR fixes #xyz
  • Tests for the changes have been added (for bug fixes / features)
    • (If applicable) Documentation has been added / updated (for bug fixes / features)
  • CHANGES.rst has been updated (with summary of main changes)
    • Link to issue (:issue:number) and pull request (:pull:number) has been added

What kind of change does this PR introduce?

  • Fixes a few small spelling and grammar issues that were causing errors with codespell. Now ignoring SVG files.
  • Temporarily skipped the test_hawkins_sutton_smoke test due to strange behaviour with xarray.

Does this PR introduce a breaking change?

No, AFAIK.

@Zeitsperre Zeitsperre added the bug Something isn't working label Jun 7, 2024
@Zeitsperre Zeitsperre requested review from huard and aulemahal June 7, 2024 14:58
@Zeitsperre Zeitsperre self-assigned this Jun 7, 2024
@@ -51,6 +51,7 @@ def _concat_hist(da, **hist):

# Select historical scenario and drop it from the data
h = da.sel(**hist).dropna("time", how="all")
h = h.drop_vars(dim)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Relevant changes here.

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@github-actions github-actions bot added the docs Improvements to documenation label Jun 7, 2024
@Zeitsperre Zeitsperre changed the title Fix hawkins sutton smoke tests Fix hawkins sutton smoke tests, linting Jun 7, 2024
Copy link
Collaborator

@huard huard left a comment

Choose a reason for hiding this comment

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

Happy if it still works.

@github-actions github-actions bot added the approved Approved for additional tests label Jun 7, 2024
@coveralls
Copy link

Coverage Status

coverage: 90.815% (-0.03%) from 90.843%
when pulling ca4822b on fix-hawkins-sutton
into edf1e13 on main.

@Zeitsperre
Copy link
Collaborator Author

@huard

I've set the test to be ignored for this specific xarray version. The upstream dev version seems to be working fine, so I don't want to risk changing outputs for a bug in the current xarray.

@coveralls
Copy link

Coverage Status

coverage: 90.588% (-0.3%) from 90.843%
when pulling dc80f45 on fix-hawkins-sutton
into edf1e13 on main.

@coveralls
Copy link

Coverage Status

coverage: 90.588% (-0.3%) from 90.843%
when pulling 26bf8f8 on fix-hawkins-sutton
into edf1e13 on main.

@Zeitsperre Zeitsperre merged commit 4056109 into main Jun 7, 2024
18 of 19 checks passed
@Zeitsperre Zeitsperre deleted the fix-hawkins-sutton branch June 7, 2024 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Approved for additional tests bug Something isn't working docs Improvements to documenation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants