-
Notifications
You must be signed in to change notification settings - Fork 0
Pushing changes and PRs
Iván Pérez edited this page Apr 30, 2025
·
3 revisions
This guide explains how to contribute to the Ui-Py project, including best practices for submitting changes, creating issues, and making pull requests.
There are three main ways to contribute to Ui-Py:
- Code Contributions: Adding new features or fixing bugs
- Ideas and Suggestions: Proposing new functionality or improvements
- Bug Reports: Reporting issues with the bot
- Create an Issue: Before writing code, create an issue to discuss your idea
- Fork the Repository: Create your own fork of the repository
- Make Changes: Implement your feature or fix
- Test Your Changes: Make sure everything works as expected
- Create a Pull Request: Submit your changes for review
When creating issues, please use the appropriate issue templates:
- Bug Reports: Use the bug report template to describe the issue in detail
- Feature Requests: Use the feature request template to propose new functionality
- Questions: For general questions or help, use the discussion forum
Be sure to include:
- Clear, descriptive title
- Detailed description of the problem or suggestion
- Steps to reproduce (for bugs)
- Expected vs. actual behavior (for bugs)
- Any relevant context or screenshots
# Fork the repository on GitHub, then:
git clone https://github.com/YOUR-USERNAME/Ui-Py.git
cd Ui-Py
pip install pipenv
pipenv sync --dev # Installs dev dependencies toogit checkout -b feature/your-feature-name
# or
git checkout -b fix/issue-you-are-fixing- Follow PEP 8 for Python code
- Use type hints wherever possible
- Write docstrings for functions and classes
- Keep functions small and focused on a single task
- Use meaningful variable and function names
- Test your changes thoroughly before submitting
- Ensure all commands work as expected
- Check for any performance impacts
git add .
git commit -m "Descriptive commit message"
git push origin feature/your-feature-nameUse meaningful commit messages that explain what changes you've made and why.
- Go to the GitHub repository and create a new pull request
- Fill in the pull request template with details about your changes
- Reference any related issues using #issue-number
- Wait for review and address any feedback
Your PR will be reviewed for:
- Code quality and style
- Functionality and correctness
- Documentation
- Test coverage
Once approved, your changes will be merged into the main codebase.
If you have any questions or need help with your contribution, please feel free to reach out by creating an issue or contacting the maintainers directly on Discord.