Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 2.49 KB

CONTRIBUTING.md

File metadata and controls

38 lines (27 loc) · 2.49 KB

How to contribute

We welcome contributions from external contributors, and this document describes how to merge code changes into pyscreener.

Getting Started

  1. Make sure you have a GitHub account.
  2. Fork this repository on GitHub.
  3. On your local machine, clone your fork of the repository.

Making Changes

  1. Install the development version of pyscreener: pip install -e .[dev]
  2. Install the the pre-commit hooks: pre-commit install
  3. Add some changes to your local fork. It's usually a good idea to make changes on a branch with the branch name relating to the feature you are going to add.
  4. If you're providing a new feature, you must add test cases and documentation.
  5. Complete the checklist below
  6. When you are ready for others to examine and comment on your new feature, navigate to your fork of pyscreener on GitHub and open a pull request (PR). Note that after you launch a PR from one of your fork's branches, all subsequent commits to that branch will be added to the open pull request automatically. Each commit added to the PR will be validated for mergability, compilation and test suite compliance; the results of these tests will be visible on the PR page.
  7. When you believe the PR has reached its final draft, check the "Ready to go" box below to let the pyscreener devs know that the changes are complete. The code will not be considered for merging until this box is checked, the continuous integration returns checkmarks, and multiple core developers give "Approved" reviews.

Checklist

  • formatted with black: black pyscreener
  • linted with flake8: flake8
  • unit tests added (if necessary)?
  • all unit tests pass (if any core code was changed)?

Ready to merge?

  • yes!

Additional Resources