- All python code must be python 2.6/2.7 compatible
- Code should follow linting from pylint
Our unit tests are run within containers. To first create the container images run
$ make images
Once images have been setup you can now run unit tests within the containers using
$ make tests
Linting can be done locally using virtualenv
.
# Setup a virtual environment
$ pip install virtualenv
$ virtualenv .venv --python=python2
$ source .venv/bin/activate
$ pip install -r requirements.txt
# Run pylint
$ pylint convert2rhel/