Maintenance updates#41
Conversation
Upgrades ceb version and adds its new dependencies
| - uses: actions/setup-python@v5 | ||
| - uses: psf/black@stable | ||
| with: | ||
| options: "--check" |
There was a problem hiding this comment.
This version of black will eventually get out of step with the Poetry-installed version, and silently cause problems. That's why the check was in the python-ci action -- so the same version is used by both CI and local developers.
There was a problem hiding this comment.
Thanks for flagging this. I've updated the workflow to read in the version defined in our pyproject.toml.
Nospamas
left a comment
There was a problem hiding this comment.
Comments for a couple of potential cleaner options, but overall approved.
| run: pip install poetry | ||
|
|
||
| - name: Install Black based on pyproject.toml | ||
| run: | |
There was a problem hiding this comment.
I'm not sure if this meets the limit yet, but having a bunch of sh/python in a yaml file feels bad to me. might be worth extracting some or all of it to a nearby file (probably within workflows) and executing it from here.
| name = "p2a_impacts" | ||
| version = "0.4.0" | ||
| description = "Climate impacts engine for Plan2Adapt.ca" | ||
| authors = [{ name = "Nikola Rados", email = "nrados@uvic.ca" }] |
Uh oh!
There was an error while loading. Please reload this page.