Skip to content

redhat-ai-services/mlops-demo-iris-training-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mlops-demo-iris-training-service

Running locally

Installing pipenv

Pipenv is a package and virtual environment management tool built on pip and pythyon virtual environments.

python -m pip install pipenv

Setting up the Python Virtual Environment

# Install the required packages with dev dependencies
pipenv install --dev

# Activate the python virtual environment
pipenv shell

Running Pytest

pytest tests/

Running Automated Formatting

Black is an opinionated automated code formatting tool for Python. Black can help to automatically resolve many pep8 issues.

black .

Running Linting

Flake8 is a python pep8 lint tool to help identify common pep8 issues. Flake8 also has several extensions enabled such as bandit, a static code analysis tool for identifying security issues.

flake8 .

Run the Pipeline

python pipelines/iris_pipeline.py

Releases

No releases published

Packages

No packages published