Create Pull Requests#

This section outlines the steps for creating pull requests (PRs) for this project.

It is assumed that you already cloned or forked this repostitory and have a working development environment set up.

Follow these steps to create a pull request:

  1. On the GitHub project, find a bug or feature you want to work on.

  2. In your local repository, create a new branch for your changes.

    It’s recommended to use the issue number and a descriptive name for the branch that reflects the changes you plan to make.

  3. Make your changes in the codebase.

  4. Commit your changes with a clear and concise commit message.

    • Include the issue number if applicable and add phrases like Fixes #123.

    • It’s enough to have a high-level description of the changes.

    • The message should explain why these changes were necessary.

  5. Push your changes and create a pull request On GitHub. GitHub creates a pull request number for you.

  6. If useful, create a news fragment of your changes.

    This is important for the changelog generation. Push the news fragment to the same branch as your changes.

  7. On GitHub, request a review.

  8. Address any feedback from the review.

    • Make additional commits to your branch as needed.

    • Ensure that the test suite passes after your changes.

  9. Once the review is complete and all tests pass, squash merge your branch into the main branch.