Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 883 Bytes

CONTRIBUTING.md

File metadata and controls

28 lines (20 loc) · 883 Bytes

Contributing to OpenVisualizer and OpenWSN

👍 🎉 First off, thanks for taking the time to contribute! 🎉 👍

We use JIRA to track issues and new features: jira-issues

We use flake8 to enforce the Python PEP-8 style guide. The Travis builder verifies new pull requests and it fails if the Python code does not follow the style guide.

You can check locally if your code changes comply with PEP-8. First, install the main flake8 package and two flake8 plugins:

$ pip install flake8
$ pip install pep8-naming
$ pip install flake8-commas

Move to the root of the OpenVisualizer project and run:

$ flake8 --config=tox.ini

If flake8 does not generate any output, your code passes the test; alternatively, you can check the return code:

$ flake8 --config=tox.ini
$ echo $?
0