Skip to content

Latest commit

 

History

History
45 lines (36 loc) · 1.67 KB

File metadata and controls

45 lines (36 loc) · 1.67 KB

Contributing to InferTrade

Found a new feature, or a bug? We welcome your pull requests.

Licencing

infertrade is an Apache 2.0 project.

Contributions should be consistent with the Apache 2.0 licence and with the principles of the Developer Certificate of Origin.

Contribution process

  1. Submit an issue describing your proposed change to the repo in question.

  2. The repo owner will respond to your issue promptly and the community can provide feedback.

  3. If your proposed change is accepted, fork infertrade.

    git@github.com:ta-oliver/infertrade.git
    
  4. Set up developer mode.

    cd infertrade/
    make dev-venv
    source .inferlib_venv/bin/activate
    
  5. Make changes, and test your code changes. You may use make for testing your code.

    • Run tests:
      make test
      
    • Check code coverage:
      make coverage
      
  6. Ensure that your code adheres to the existing style within InferTrade. Refer to the Google Style Guide if unsure. We recommend you use

    make autoformat
    

    This will lint with the black package with 120 char lines setting (black -l 120 infertrade).

  7. Ensure that your code has an appropriate set of unit tests which all pass.

  8. If this is your first pull request, please add yourself to the list of project copyright contributors.

  9. Submit a pull request.