Install style checkers

Install style checkersΒΆ

To keep the code readable, reviewable, and maintainable, adhere to the standardized style of Puppet and Python.

Integrate the code style checkers to your Continuous Integration (CI) workflow.

To install a Puppet code style checker:

gem install puppet-lint
puppet-lint  --with-context ./myplugin/deployment_scripts

To install a Python code style checker:

pip install pep8
pep8 --show-source --show-pep8 ./myplugin/deployment_scripts
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.