Hey there, contributor! 🎉 First off, thank you for considering helping out with mobile-use. Every contribution, big or small, is incredibly valuable to us.
Ready to dive in? Here’s how you can get set up:
- Fork & Clone: Fork the repository and clone it to your local machine.
- Set Up Your Environment: Follow the "Manual Launch (Development Mode)" instructions in our
README.mdto get everything installed and ready to go.
Got an idea or a fix? Here’s the general workflow:
-
Pick an Issue: A great place to start is our issues tab. Look for anything tagged
good first issue! -
Create a Branch: Create a descriptive branch name for your feature or bug fix.
git checkout -b your-awesome-feature
-
Write Your Code: This is the fun part! Make your changes and improvements.
-
Keep It Clean: Before you commit, make sure your code is formatted and linted correctly with Ruff.
# Check for any linting errors ruff check . # Automatically format your code ruff format .
-
Run Tests: Make sure all the tests pass with
pytest.pytest
-
Commit Your Changes: Use clear and descriptive commit messages. We follow the Conventional Commits standard.
When your code is ready, open a Pull Request!
- Push your branch to your fork.
- Open a PR against the
mainbranch of the original repository. - Make sure all the tests pass with
pytest. - Provide a clear description of the changes you've made. We'll review it as soon as we can!
We use uv to manage our dependencies. It's fast, and efficient.
To get all the project dependencies installed from the lockfile, just run:
uv syncThis ensures your environment is perfectly aligned with ours.
Need to add a new package? Here’s how:
# For a production package
uv pip install <package-name>
# For a development-only package
uv pip install <package-name> --extra=devAfter installing, don't forget to update the lockfile and commit the changes:
uv lock
# git add uv.lock pyproject.toml && git commit ...That's it! Thanks again for your contribution. We're excited to see what you build!