Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 1.02 KB

README.md

File metadata and controls

35 lines (21 loc) · 1.02 KB

KUBEYARD PYTHON IMAGE

Basic python image that meets kubeyard requirements.

For more info, please read kubeyard documentation!

Advanced usage

If you want to allow downloading packages from own pypi for all images built on this image, you need to run:

docker build -t kubeyard-python:own_pypi --build-arg PIP_EXTRA_INDEX_URL=https://username:[email protected] .

Assumptions

Static analysis

For static analysis we are using flake8 and isort.

We are using flake8 and isort separately due to code fixing - When isort is trying to fix imports it uses only own config files, flake8 configs are omitted.

Tests

We are using pytest for running tests.

Freezing requirements

We are decided to use pip-tools for freezing requirements - it gives much more readable output file with all dependencies listed.