Main¶
This is application demonstrates the following Python packages:
build project using GNU Make
format code using Black
document using Sphinx
lint code using pylint
process a YAML file using PyYAML
read module help using PyDoc
report test coverage using Coverage
unit test using PyTest
Get help for this module with:
./read_yaml.py -h
pydoc3 read_yaml
python -m read_yaml -h
This provides usage information and command line parameters.
The module exists just to run the Employees class from command line.
Module¶
Read Employee data to return turnover information. This is an example Python program to read and process YAML files.
- read_yaml.main() None ¶
Example of YAML file processing.