FHomewood / dev-tools

A dot-files style repository intended to store all windows PowerShell scripts, bash scripts and dotfiles for ease of development and automation of workflow.
GNU General Public License v3.0
1 stars 0 forks source link

Refactor meeting.py script #41

Open FHomewood opened 1 month ago

FHomewood commented 1 month ago

Proposed Feature

Summary

The direct translation of the powershell scripts has enabled maximum faith to the original intent of the code but there's significantly more that python enables. This issue addresses the monofunction nature of the script at the moment. Splitting this into unit functions will enable future testing and rigor to be easier attributed to the meeting script.

Motivation

Moving toward a python first approach for the provided scripts the current approach is not accounting for the idea of testing and quality assurance. A move to smaller functions will enable a better methodology moving forwards.

Detail

As this is a refactor, testing would be ideal. However since it doesn't exist in the repo as it stands, unit testing can be added as a part of a later ticket. The shared functions should be created as a utils file where appropriate for maximum reuse. Maintain DRY principles.