In this video, you’ll learn how to set up the Python project for Continuous Integration (CI). Therefore, a GitHub repository is created, the project is cloned and some basic library functionality is implemented.
Here’s the calculator.py
file used in the example code:
"""
calculator.py
Calculator library containing basic math operations.
"""
def add(first_term, second_term):
return first_term + second_term
def subtract(first_term, second_term):
return first_term - second_term
You can download the full CalculatorLibrary
sample project at the link below:
carykinsfather on Aug. 2, 2019
If on MacOS you may need to put
python3 -m venv project_name_here
.