Skip to content

Latest commit

 

History

History
38 lines (22 loc) · 2.7 KB

CONTRIBUTING.md

File metadata and controls

38 lines (22 loc) · 2.7 KB

TorchChem

Contributing to TorchChem

We actively encourage community contributions to torchchem. The first place to start getting involved is by running our examples locally. Afterwards, we encourage contributors to give a shot to improving our documentation. While we take effort to provide good docs, there's plenty of room for improvement. All docs are hosted on Github, either in README.md file, or in the docs/ directory.

Once you've got a sense of how the package works, we encourage the use of Github issues to discuss more complex changes, raise requests for new features or propose changes to the global architecture of torchchem. Once consensus is reached on the issue, please submit a PR with proposed modifications. All contributed code to torchchem will be reviewed by a member of the DeepChem team, so please make sure your code style and documentation style match our guidelines!

Pull Request Process

Every contribution, must be a pull request and must have adequate time for review by other committers.

Code Style Guidelines

torchchem uses yapf to autoformat code.

pip install yapf==0.22.0
cd <git_root>
yapf -i <python_files changed>

Our integration tests will fail if code is not formatted correctly

Documentation Style Guidelines

torchchem uses NumPy style documentation. Please follow these conventions when documenting code, since we use Sphinx+Napoleon.

Contributor License Agreement

In order to get a pull request accepted you must fill out our License Agreement. The purpose of this agreement is to enable DeepChem to distribute your code and its derivatives.

The Agreement

Contributor offers to license certain software (a “Contribution” or multiple “Contributions”) to DeepChem, and DeepChem agrees to accept said Contributions, under the terms of the open source license The MIT License

The Contributor understands and agrees that DeepChem shall have the irrevocable and perpetual right to make and distribute copies of any Contribution, as well as to create and distribute collective works and derivative works of any Contribution, under The MIT License.

DeepChem understands and agrees that Contributor retains copyright in its Contributions. Nothing in this Contributor Agreement shall be interpreted to prohibit Contributor from licensing its Contributions under different terms from the The MIT License or this Contributor Agreement.