Skip to content

Latest commit

 

History

History
54 lines (36 loc) · 1.89 KB

CONTRIBUTING.md

File metadata and controls

54 lines (36 loc) · 1.89 KB

How to contribute

We love pull requests from everyone. By participating in this project, you agree to abide by our code of conduct.

Note that this fork is importing all changes from the QuantLib-SWIG repository on each release. Changes related to QuantLib's own Python bindings will be included in each new release. Contributions to this repository should only be made if they are related to building the Python bindings for QuantLib-Risks (enabled with XAD).

  1. Fork, then clone the repository:
git clone https://github.com/yourusername/QuantLib-Risks.git
  1. Follow the Build Instructions to setup the dependencies and build the software. Make sure all tests pass.

  2. Create a feature branch, typically based on master, for your change

git checkout -b feature/my-change main
  1. Make your changes, adding tests as you go, and commit. Again, make sure all tests pass.

  2. Push your fork

  3. Submit a pull request. Not that you will have to sign the Contributor License Agreement before the PR can be merged.

At this point, you are depending on the core team to review your request. We may suggest changes, improvements, or alternatives. We strive to at least comment on a pull request within 3 business days. After feedback has been given, we expect a response within 2 weeks, after which we may close the pull request if it isn't showing activity.

Some things that will highly increase the chance that your pull request gets accepted:

  • Discuss the change you wish to make via issue or email

  • Write good tests for all added features

  • Write good commit messages (short one-liner, followed by a blank line, followed by a more detailed explanation)