Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 2.23 KB

CONTRIBUTING.rst

File metadata and controls

47 lines (32 loc) · 2.23 KB

Contributing to scikit-surgeryvtk

We welcome contributions to scikit-surgeryvtk.

Reporting bugs and feature requests

Please create a new issue on https://github.com/SciKit-Surgery/scikit-surgeryvtkissues/new

When reporting a bug, please include: * The version of scikit-surgeryvtk you are using * Your OS version (for example Windows 10 64-bit, macOS High Sierra, Ubuntu 16.04) * Detailed steps to reproduce the bug.

Fixing bugs or implement features

The easiest way to contribute is to follow these guidelines:

  1. Look through the issues on https://github.com/SciKit-Surgery/scikit-surgeryvtkissues and assign the relevant issue to yourself. If there is not an existing issue that covers your work, please create one: https://github.com/SciKit-Surgery/scikit-surgeryvtkissues/new
  2. Fork the repository: https://github.com/SciKit-Surgery/scikit-surgeryvtkforks/new
  3. Create a branch for your changes. The branch name should start with the issue number, followed by hyphen separated words describing the issue. For example: 1-update-contribution-guidelines
  4. Make your changes following the coding guidelines below.
  5. Commit and push your changes to your fork. The commit message should start with Issue #<issue number>, for example: "Issue #1: Fixed typo". Commit in small, related chunks. Review each commit and explain its purpose in the commit message.
  6. Submit a merge request: https://github.com/SciKit-Surgery/scikit-surgeryvtkmerge_requests/new

Coding guidelines

  1. Please follow PEP8 guidelines https://www.python.org/dev/peps/pep-0008/
  2. Create a python virtual environment (virtualenv) for development
  3. Make sure that pylint passes. You may disable specific warnings within the code where it is reasonable to do so
  4. Add unit tests for new and modified code
  5. Make sure all existing and new tests pass
  6. Make sure all docstrings have been added
  7. Make sure all dependencies have been added to requirements
  8. Make sure your code works for all required versions of Python
  9. Make sure your code works for all required operating systems