ferlatte / bookish-octo-funicular

Convert calendars into a schedule.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bookish-octo-funicular

Convert calendars into a schedule.

CI Status

pre-commit.ci status

Setup

You will need asdf and pre-commit installed already.

asdf install
asdf reshim
pip3 install --upgrade pip
pip3 install poetry
asdf reshim # Need to run this again to get poetry into the PATH
make installdeps
make test

Dependencies

Adding a new Python dependency

poetry add name_of_package
poetry add name_of_dev_package --group dev

Note that pre-commit's mypy hook will need any module type stub packages added to additional_dependencies after you install them via poetry.

Updating dependencies

Do this regularly.

asdf install python latest
asdf local python latest
pip3 install --upgrade pip
pip3 install --upgrade poetry
poetry update

Testing

Unit tests are run via make.

make test

If you are working with generating iCalendar data, you should run your generated data through a validator. This is the one Mark has been using: https://icalendar.org/validator.html

About

Convert calendars into a schedule.


Languages

Language:Python 92.0%Language:Makefile 8.0%