Skip to content

Latest commit

 

History

History
77 lines (53 loc) · 2.13 KB

File metadata and controls

77 lines (53 loc) · 2.13 KB

🛠️ Contributing Guide

We welcome contributions to the AbacatePay SDK! Follow the steps below to get started.

✅ Prerequisites

🚀 Getting Started

  1. Fork the repository Fork it on GitHub

  2. Clone your fork locally Replace your-username with your GitHub username:

    git clone https://github.com/your-username/abacatepay.git
    cd abacatepay
  3. Set up the virtual environment using Poetry

    If you don’t have Poetry installed, follow the instructions here.

    poetry install
  4. Install pre-commit hooks To ensure consistent code quality during development, we use pre-commit hooks.

    poetry run pre-commit install
  5. Create a new branch for your changes Use a descriptive name for the feature or fix:

    git checkout -b feature-name
  6. Run the tests to ensure nothing is broken:

    poetry run task test
  7. Check code style and formatting The test command will also check code style using Ruff. If formatting issues remain, you can fix them manually:

    poetry run task lint
    poetry run task fmt
  8. Don't forget to document your changes We use MKDocs for documentation. We also use MKDocStrings to generate reference documentation from docstrings, so make sure to properly document your functions and modules.

  9. Commit and push your changes

    git add .
    git commit -m "Add feature or fix: short description"
    git push origin feature-name
  10. Open a pull request on GitHub and describe your changes clearly.


☕ That’s it! Grab a coffee while we review your contribution. Thanks for helping improve AbacatePay SDK! 🙌