Skip to content

Latest commit

 

History

History
47 lines (28 loc) · 2.82 KB

CONTRIBUTING.md

File metadata and controls

47 lines (28 loc) · 2.82 KB

Contribution Guidelines

Here you will find the contribution guidelines.

Click here to see the Table of Contents

Microsoft Contributor License Agreement

Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

Recommenders Team Contribution Guidelines

Test Driven Development

We use Test Driven Development (TDD) in our development. All contributions to the repository should have unit tests, we use pytest for Python files and papermill for notebooks.

Apart from unit tests, we also have nightly builds with smoke and integration tests. For more information about the differences, see a quick introduction to unit, smoke and integration tests.

You can find a guide on how to manually execute all the tests in the TESTS.md

Python and Docstrings Style

We use the automatic style formatter Black. See the installation guide for VSCode and PyCharm.

We use Google style for formatting the docstrings.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct.

For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Apart from the official Code of Conduct developed by Microsoft, in the Recommenders team we adopt the following behaviors, to create a great working environment:

  • Focus on improvement not blame
  • Be empathetic, ask questions don't make demands
  • Provide constructive feedback with supporting evidence when applicable