Contributing

We gladly invite you to contribute to Pyoints by making suggestions, report bugs, or making changes on the code. Contributions can be made via your GitHub account.

Making Suggestions

You can make suggestions or report bugs by using the issue board on GitHub or by sensing an email to the package maintainer(s).

Making Changes

To contribute your code, please fork Pyoints on GitHub. Push your changes with meaningfull commit messages to a topic branch. Then create a pull request to propose to incorporate your changes to the main project. To ensure a uniform quality of code, please follow our coding conventions.

Coding Conventions

Style Guide.

Please follow the PEP8 style guidelines.

Documentation

Please make sure to document your contributed code appropiatly. The Pyoints project uses Docstrings (PEP257 to document the code of each class or function. The documentation and comments must be written in English. Wherever possible, the Examples section should illustrate the basic usage of the code. The examples should also cover special cases, which might reveal unexpected behavior or major bugs.

Testing

To test the software please take a look at the tests directory. Currently doctests are used to test the functionality of a majority of Pyoints classes and functions. You can run the file tests/test_pyoints.py to run the doctests. After adding a new file, please add a doctest reference to tests/test_pyoints.py. To increase the quality of our code we encourage you to write additional tests.

Software recommendations

The following Python packages were used for software development, testing and documentation.

autopep8

Hideo Hattori

CloudCompare

Daniel Girardeau-Montaut

matplotlib

John D. Hunter, Michael Droettboom

pycodestyle

Ian Lee

Sphinx

Georg Brandl

sphinxcontrib-napoleon

Rob Ruana