A specialized program to create an iCal file from a Microsoft Excel schedule.
- Install the virtual environment
pipenv install --dev
- Create the required config file - you may copy the example config
located at
/config/.rdrhc_calendar.cfg
. - Update the config file to specify all the required details (as outlined in the example config file.
pipenv run python run.py path_to_config_file
Unit tests for this application can be run via the standard pytest commands:
# Standard testing
pipenv run pytest
# Tests with coverage reporting
pipenv run pytest --cov=modules --cov-report=xml
All reports can be placed in the reports folder, whose contents are excluded from source control.
Linting for this application can be run with the following commands:
# Linting via Pylint (Excluding Tests)
$ pipenv run pylint run.py modules/
# Linting via Pylint (Tests Only)
$ pipenv run pylint tests/ --min-similarity-lines=20
# Linting via Pycodestyle
$ pipenv run pycodestyle run.py modules/ tests/