We welcome contributions to PyADBKit! This document provides guidelines for contributing to the project.
- Fork the repository on GitHub.
- Clone your fork locally:
git clone https://github.com/your-username/pyadbkit.git cd pyadbkit - Create a virtual environment and install the development dependencies:
python -m venv venv source venv/bin/activate # On Windows, use `venv\Scripts\activate` pip install -r requirements-dev.txt
- Create a new branch for your changes:
git checkout -b your-feature-branch - Make your changes and ensure that the tests pass:
python -m unittest discover tests - Write new tests for your changes if applicable.
- Update the documentation if necessary.
- Commit your changes:
git commit -am "Add a brief description of your changes"
- Push your changes to your fork on GitHub:
git push origin your-feature-branch - Go to the PyADBKit repository on GitHub and create a new pull request.
- Describe your changes in the pull request description.
- Wait for a maintainer to review your pull request. They may ask for changes or clarifications.
- Follow PEP 8 guidelines for Python code style.
- Use type hints where appropriate.
- Write clear, concise comments and docstrings.
If you find a bug or have a suggestion for improvement:
- Check if the issue already exists in the GitHub issue tracker.
- If not, create a new issue, providing as much detail as possible, including:
- Steps to reproduce the issue
- Expected behavior
- Actual behavior
- PyADBKit version
- Python version
- Operating system
If you have any questions about contributing, feel free to ask in the GitHub issues.
Thank you for contributing to PyADBKit!