mergecal / python-mergecal

Python library and CLI tool to merge RFC5545 iCalendar feeds and .ics files.
https://mergecal.readthedocs.io/
GNU General Public License v3.0
6 stars 0 forks source link

Templating #34

Open niccokunzmann opened 1 month ago

niccokunzmann commented 1 month ago

Description of change

This adds templating.

Have a look at the tests added ...

Contributes to #17 Contributes to #21

Pull-Request Checklist

  • If pre-commit.ci is failing, try pre-commit run -a for further information.
  • If CI / test is failing, try poetry run pytest for further information.
codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Files with missing lines Coverage Δ
src/mergecal/calendar_merger.py 86.11% <100.00%> (+6.11%) :arrow_up:
niccokunzmann commented 1 month ago

Hi @abe-101, I added templating as I thought would be useful. The yaml specification allows for a lot of flexibility in the future as well as backwards compatibility and a unified interface for Python/command line usage.