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

Style compliance for Jupyter Notebooks #199

Merged
merged 8 commits into from
Aug 23, 2024

Conversation

rcjackson
Copy link
Contributor

  • Closes #xxxx
  • Tests added
  • Changes are documented in history.md

The notebooks were not compliant with Ruff's style checker. This PR fixes that.

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Copy link

codecov bot commented Aug 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.98%. Comparing base (bd774ba) to head (29d02e9).
Report is 24 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #199   +/-   ##
=======================================
  Coverage   91.98%   91.98%           
=======================================
  Files          23       23           
  Lines        4541     4541           
=======================================
  Hits         4177     4177           
  Misses        364      364           
Flag Coverage Δ
notebooktests 78.19% <ø> (ø)
unittests 90.24% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

Copy link
Collaborator

@mgrover1 mgrover1 left a comment

Choose a reason for hiding this comment

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

One quick suggestion - can you add the link to the PR in the history file?

@mgrover1
Copy link
Collaborator

Thanks for the fix here @rcjackson - merging once the tests pass 👍

@rcjackson
Copy link
Contributor Author

One quick suggestion - can you add the link to the PR in the history file?

Done!

@mgrover1 mgrover1 merged commit 1b4a535 into openradar:main Aug 23, 2024
11 checks passed
rcjackson added a commit to rcjackson/xradar that referenced this pull request Aug 23, 2024
* ADD: MRR2 backend

* Revert "ADD: MRR2 backend"

This reverts commit e377116.

* Fixed format to pass ruff.

* ADD: Documenting the changes in history.md

* FIX: Cmweather imports

* Cmweather oh cmweather

* ADD: MVC

* ADD: Link to PR in history.md
kmuehlbauer added a commit that referenced this pull request Oct 16, 2024
* ADD: MRR2 backend

* Revert "ADD: MRR2 backend"

This reverts commit e377116.

* FIX: Style compliance for Jupyter Notebooks (#199)

* ADD: MRR2 backend

* Revert "ADD: MRR2 backend"

This reverts commit e377116.

* Fixed format to pass ruff.

* ADD: Documenting the changes in history.md

* FIX: Cmweather imports

* Cmweather oh cmweather

* ADD: MVC

* ADD: Link to PR in history.md
* ADD: History.md
* New MRR2 branch
* ADD: Black
* Try ds = None
* FIX: Delete .gz file after download
* Ruff!
* ADD: Set data variables to None upon closing.
* Black
* FIX: Trying context managers for Datasets.
* Set raw data variables to None
* Close file earlier?
* ADD: ds.ds.close for DataTrees, otherwise we have > 4.2 million references remaining
* ADD: No more _data
* TST: Remove -n auto
* STY: Black
* unlock parallel processing in CI again
* reorganize metek tests
* tmp_path_factory in tests
* keep metek tests in test_metek.py
* link missing notebooks to toc
---------

Co-authored-by: Kai Mühlbauer <[email protected]>
rcjackson added a commit to rcjackson/xradar that referenced this pull request Nov 26, 2024
* ADD: MRR2 backend

* Revert "ADD: MRR2 backend"

This reverts commit e377116.

* FIX: Style compliance for Jupyter Notebooks (openradar#199)

* ADD: MRR2 backend

* Revert "ADD: MRR2 backend"

This reverts commit e377116.

* Fixed format to pass ruff.

* ADD: Documenting the changes in history.md

* FIX: Cmweather imports

* Cmweather oh cmweather

* ADD: MVC

* ADD: Link to PR in history.md
* ADD: History.md
* New MRR2 branch
* ADD: Black
* Try ds = None
* FIX: Delete .gz file after download
* Ruff!
* ADD: Set data variables to None upon closing.
* Black
* FIX: Trying context managers for Datasets.
* Set raw data variables to None
* Close file earlier?
* ADD: ds.ds.close for DataTrees, otherwise we have > 4.2 million references remaining
* ADD: No more _data
* TST: Remove -n auto
* STY: Black
* unlock parallel processing in CI again
* reorganize metek tests
* tmp_path_factory in tests
* keep metek tests in test_metek.py
* link missing notebooks to toc
---------

Co-authored-by: Kai Mühlbauer <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants