We're excited that you're interested in contributing to mobileadapt! This document outlines the process for contributing to this project.
- Fork the repository on GitHub.
- Clone your fork locally:
git clone https://github.com/your-username/mobileadapt.git
- Create a new branch for your feature or bug fix:
git checkout -b feature/your-feature-name
- Ensure you have Python 3.7+ installed.
- Install Poetry (if not already installed):
curl -sSL https://install.python-poetry.org | python3 -
- Install the project dependencies:
poetry install
- Activate the virtual environment:
poetry shell
- Set up Appium and the necessary mobile SDKs as described in the project's README.
- Make your changes in your feature branch.
- Add or update tests as necessary.
- Ensure your code follows the project's coding style (we use PEP 8 for Python).
- Run the test suite to make sure all tests pass:
poetry run python -m unittest discover tests
- Any changes that affect the project's functionality, API, or usage should be reflected in the documentation.
- The documentation for this project is maintained in a separate repository: adaptdocs.
- Clone the documentation repository:
git clone https://github.com/RevylAI/adaptdocs.git
- Make the necessary updates to the relevant documentation files.
- Submit a separate pull request to the adaptdocs repository with your documentation changes.
- Commit your changes:
git commit -am "Add a brief description of your changes"
- Push to your fork:
git push origin feature/your-feature-name
- Submit a pull request through the GitHub website.
- If you've made documentation changes, submit a separate pull request to the adaptdocs repository.
- Provide a clear title and description of your changes.
- Include any relevant issue numbers in the PR description.
- Ensure all tests pass and there are no linting errors.
- Add or update documentation as necessary.
- If your changes require documentation updates, mention the related PR in the adaptdocs repository.
- Use the GitHub issue tracker to report bugs.
- Describe the bug in detail, including steps to reproduce.
- Include information about your environment (OS, Python version, etc.).
- Use the GitHub issue tracker to suggest new features.
- Clearly describe the feature and its potential benefits.
- Be open to discussion about the feature's implementation.
The core team will review your pull request. We may suggest changes, improvements, or alternatives.
- Follow PEP 8 style guide for Python code.
- Use meaningful variable and function names.
- Comment your code where necessary, especially for complex logic.
- Write docstrings for all functions, classes, and modules.
By contributing to mobileadapt, you agree that your contributions will be licensed under the project's MIT license.
Thank you for contributing to mobileadapt!