xarray-contrib / xbatcher

Batch generation from xarray datasets
https://xbatcher.readthedocs.io
Apache License 2.0
167 stars 27 forks source link

Use defaults for Black code formatting #103

Closed maxrjones closed 2 years ago

maxrjones commented 2 years ago

Description of proposed changes

Simplifies pre-commit and tool configuration, Fixes https://github.com/xarray-contrib/xbatcher/issues/102

codecov-commenter commented 2 years ago

Codecov Report

Merging #103 (a36a958) into main (a36a958) will not change coverage. The diff coverage is n/a.

:exclamation: Current head a36a958 differs from pull request most recent head 34c3a91. Consider uploading reports for the commit 34c3a91 to get more accurate results

@@            Coverage Diff            @@
##              main      #103   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            5         5           
  Lines          182       182           
  Branches        33        33           
=========================================
  Hits           182       182           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

maxrjones commented 2 years ago

| Btw, not critical, but it seems like black=22.10.0 (released 6 Oct 2022) can format Jupyter notebooks now. I just tried it and it formats the doc/demo.ipynb file. Up to you if you want to do it here or in a separate PR (will need to update black's version in .pre-commit-config.yaml.

Oh nice! I'll add it to this PR to keep it all together