Skip to content

Latest commit

 

History

History
46 lines (36 loc) · 759 Bytes

File metadata and controls

46 lines (36 loc) · 759 Bytes

Contributing to dj-payfast

We welcome contributions! Here's how to get started.

Development Setup

  1. Fork the repository
  2. Clone your fork:
   git clone https://github.com/carrington-dev/dj-payfast.git
   cd dj-payfast
  1. Create a virtual environment:
   python -m venv venv
   source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install development dependencies:
   pip install -e ".[dev]"

Running Tests

pytest

Code Style

We use Black, isort, and flake8:

black payfast tests
isort payfast tests
flake8 payfast tests

Submitting Changes

  1. Create a new branch
  2. Make your changes
  3. Add tests
  4. Run tests and linters
  5. Commit and push
  6. Create a Pull Request