Contributing
Thank you for your interest in contributing to PyPortion.
Types of Contributions
- Reporting bugs — Found something broken? Open an issue
- Suggesting features — Have an idea? Start a discussion
- Testing new releases — Try the latest versions and share feedback
- Improving documentation — Help others understand PyPortion
- Contributing code — Fix bugs or add new features
Local Development Setup
-
Fork the repository
Go to the GitHub repo and click "Fork" to create your own copy.
-
Clone your fork
-
Install Poetry (if you don't have it)
-
Install project dependencies
-
Install pre-commit hooks
-
Make your changes, then commit and push to open a pull request.
Pre-Commit Hooks
Pre-commit hooks run automatically on every commit and perform the following checks:
- Format code
- Lint code
- Type check
- Sort imports
- Run test cases
Note: Hooks may automatically modify files to match the project's coding style. If this happens, stage the changes and commit again before pushing.
Pull Request Review
All pull requests go through an automatic review via GitHub Actions, followed by a manual review.
Reviewers focus on:
- Code clarity and readability
- Consistency with the project structure
- Test coverage
- Quality and clarity of commit messages
Need Help?
Open a discussion on GitHub.