This is an open source project and thus you're welcome to contribute!
Any source code contribution should be done through github's pull request, see general instructions here.
Also, please, follow the code style proposed by PEP8. There is a tool called pycodestyle, formerly known as pep8, that checks if your code is compliant.
For details on adding new packages to the project, refer to the versions repository documentation at https://github.com/open-power-host-os/versions/blob/master/CONTRIBUTING.md.
See details on review process here.
There is a whole repository dedicated to testing available at https://github.com/open-power-host-os/tests
In order to run the build scripts unit tests or code linter, you will need to install our development dependencies.
You can do this by issuing the command below
$ sudo pip install -r requirements-dev.txt
From the root of the builds
project directory, use the commands below to run
the code linter (Pylint):
$ PYTHON_FILES=$(find . -name "*.py")
$ pylint $PYTHON_FILES
From the root of the builds
project directory, use the commands below to run
the unit tests:
$ export PYTHONPATH=$(pwd):$PYTHONPATH
$ nosetests tests/unit
Feel free to open an issue at any moment here.