openscm / scmdata

Handling of Simple Climate Model data
https://scmdata.readthedocs.io
BSD 3-Clause "New" or "Revised" License
8 stars 5 forks source link

Copier template #260

Closed lewisjared closed 1 year ago

lewisjared commented 1 year ago

Description

I needed something mindless to do for a few hours so I migrated over to the copier template 😬. Let's see how easy it is to get the CI working otherwise it would be useful to at least take the ruff fixes.

Pull request

Please confirm that this pull request has done the following:

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 98.80% and project coverage change: +0.18% :tada:

Comparison is base (27a1261) 95.40% compared to head (500aa22) 95.58%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #260 +/- ## ========================================== + Coverage 95.40% 95.58% +0.18% ========================================== Files 24 24 Lines 2153 2154 +1 Branches 400 400 ========================================== + Hits 2054 2059 +5 + Misses 79 76 -3 + Partials 20 19 -1 ``` | [Files Changed](https://app.codecov.io/gh/openscm/scmdata/pull/260?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openscm) | Coverage Δ | | |---|---|---| | [src/scmdata/database/\_utils.py](https://app.codecov.io/gh/openscm/scmdata/pull/260?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openscm#diff-c3JjL3NjbWRhdGEvZGF0YWJhc2UvX3V0aWxzLnB5) | `83.33% <ø> (ø)` | | | [src/scmdata/pyam\_compat.py](https://app.codecov.io/gh/openscm/scmdata/pull/260?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openscm#diff-c3JjL3NjbWRhdGEvcHlhbV9jb21wYXQucHk=) | `36.84% <ø> (+10.52%)` | :arrow_up: | | [src/scmdata/testing.py](https://app.codecov.io/gh/openscm/scmdata/pull/260?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openscm#diff-c3JjL3NjbWRhdGEvdGVzdGluZy5weQ==) | `70.58% <ø> (ø)` | | | [src/scmdata/timeseries.py](https://app.codecov.io/gh/openscm/scmdata/pull/260?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openscm#diff-c3JjL3NjbWRhdGEvdGltZXNlcmllcy5weQ==) | `86.81% <ø> (ø)` | | | [src/scmdata/units.py](https://app.codecov.io/gh/openscm/scmdata/pull/260?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openscm#diff-c3JjL3NjbWRhdGEvdW5pdHMucHk=) | `100.00% <ø> (ø)` | | | [src/scmdata/run.py](https://app.codecov.io/gh/openscm/scmdata/pull/260?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openscm#diff-c3JjL3NjbWRhdGEvcnVuLnB5) | `95.34% <96.87%> (+0.27%)` | :arrow_up: | | [src/scmdata/\_\_init\_\_.py](https://app.codecov.io/gh/openscm/scmdata/pull/260?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openscm#diff-c3JjL3NjbWRhdGEvX19pbml0X18ucHk=) | `77.77% <100.00%> (ø)` | | | [src/scmdata/\_typing.py](https://app.codecov.io/gh/openscm/scmdata/pull/260?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openscm#diff-c3JjL3NjbWRhdGEvX3R5cGluZy5weQ==) | `100.00% <100.00%> (ø)` | | | [src/scmdata/\_xarray.py](https://app.codecov.io/gh/openscm/scmdata/pull/260?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openscm#diff-c3JjL3NjbWRhdGEvX3hhcnJheS5weQ==) | `100.00% <100.00%> (ø)` | | | [src/scmdata/database/\_\_init\_\_.py](https://app.codecov.io/gh/openscm/scmdata/pull/260?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openscm#diff-c3JjL3NjbWRhdGEvZGF0YWJhc2UvX19pbml0X18ucHk=) | `100.00% <100.00%> (ø)` | | | ... and [12 more](https://app.codecov.io/gh/openscm/scmdata/pull/260?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openscm) | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

lewisjared commented 1 year ago

This touches most files so I don't expect anyone to go through it line-by-line, but the tests pass. I haven't configured the environment variables yet so this won't be ready to do an automated release