Development Setup π οΈ
This guide will help you set up your development environment for contributing to Bazario.
Prerequisites π
- Python 3.10 or higher π
- pip (Python package installer) π¦
- git πΏ
Setting Up Your Development Environment π
-
Clone the repository:
-
Create and activate a virtual environment, for example, with uv ποΈ:
Development Tools π§
- pytest : For running tests β
- mypy : For static type checking π
- ruff : For code linting and formattingπ¨
Pre-commit Hooks π£
We use pre-commit hooks to ensure code quality. To set up:
-
Install pre-commit:
-
Install the git hooks β:
Making Changes π
-
Create a new branch πΏ:
-
Make your changes βοΈ
-
Run tests and quality checks β
-
Commit your changes πΎ
-
Push to your fork π
-
Create a Pull Request π¬
Need Help? π‘
If you need help or have questions:
-
Check the documentation π
-
Create an issue π«
-
Reach out to the maintainers π¬
Happy coding! π