Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.12 KB

CONTRIBUTING.md

File metadata and controls

31 lines (21 loc) · 1.12 KB

Contributing

To make contributions to this repository, you'll need a working development setup.

You can create an environment for development with tox:

tox devenv -e integration
source venv/bin/activate

Library development

This repository is meant for hosting multiple libraries maintained by the MLOps team that can be used by any charm developer. To contribute, please make sure you are familiar with libraries and follow the standards listed in the Juju documentation.

Testing

This project uses tox for managing test environments. There are some pre-configured environments that can be used for linting and formatting code when you're preparing contributions to the charm:

tox run -e fmt           # update your code according to linting rules
tox run -e lint          # code style
tox run -e unit          # unit tests
tox run -e integration   # integration tests

Deploy

The charm contained in this repository is not meant to be deployed, but for testing purposes only.