Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

Latest commit

 

History

History
80 lines (51 loc) · 2.02 KB

CONTRIBUTING.rst

File metadata and controls

80 lines (51 loc) · 2.02 KB

Contributing to qhoptim

We want to make contributing to this project as easy and transparent as possible.

Our Development Process

Changes and improvements will be released on an ongoing basis.

Pull Requests

We actively welcome your pull requests.

  1. Fork the repo and create your branch from master.
  2. If you've added code that should be tested, add tests.
  3. If you've changed APIs, update the documentation.
  4. Ensure the test suite passes.
  5. Make sure your code lints.
  6. If you haven't already, complete the Contributor License Agreement ("CLA").

Contributor License Agreement ("CLA")

In order to accept your pull request, we need you to submit a CLA. You only need to do this once to work on any of Facebook's open source projects.

Complete your CLA here.

Issues

We use GitHub issues to track public bugs. Please ensure your description is clear and has sufficient instructions to be able to reproduce the issue.

Tests

We use pytest as our unit testing framework, and all tests reside in the test_qhoptim/ directory.

You may run tests by installing pytest and running the following from the root directory of this source tree:

$ pytest test_qhoptim/

Coding Style

We use the Black code style with 120 character line length.

You may autoformat your code by installing Black and running the following from the root directory of this source tree:

$ black .

In addition, you may run flake8 to catch many glaring code issues.

License

By contributing to qhoptim, you agree that your contributions will be licensed under the LICENSE file in the root directory of this source tree.