chickadee

Logo

A Web Processing Service for PCIC's ClimDown package

View the Project on GitHub pacificclimate/chickadee

Developer Guide

Install poethepoet

A task runner that works well with Poetry to replace Makefiles.

$ python3 -m pip install --user pipx
$ python3 -m pipx ensurepath # Ensure directory where pipx stores apps is in your PATH environment variable 
$ pipx install poethepoet # Install globally

Building the docs

Most of the documentation is static and does not need to be “built”. That being said the jupyter notebooks that serve as demos need to be built whenever they are changed. This can be done using poe.

$ poe docs

Running tests

Run tests using pytest.

Install system libraries, R dependencies and package with dev dependencies:

$ poe install-apt
$ poe install-r-pkgs
$ poe develop

Run quick tests (skip slow and online):

$ poe test"

Run all tests:

poe test-all

You can also run tests on the notebooks:

$ poe test-notebooks

Check black formatting:

$ poe lint

Bump a new version

Make a new version of chickadee in the following steps:

See the bumpversion documentation for details.