Basic python image that meets kubeyard requirements.
For more info, please read kubeyard
documentation!
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] .
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.
We are using pytest for running tests.
We are decided to use pip-tools for freezing requirements - it gives much more readable output file with all dependencies listed.