fuel-docs/plugindocs/fuel-plugin-sdk-guide/create-environment/code-style.rst

670 B

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