We appreciate your interest in contributing to the Universal Transit Platform! This guide will help you get started with the contribution process.
Please read our Code of Conduct before contributing. We expect all contributors to adhere to these guidelines to maintain a welcoming and productive environment.
Click the "Fork" button at the top right corner of the repository page to create your own copy of the project.
In your local repository, create a new branch for your feature or bug fix:
git checkout -b feature/your-feature-name
Replace your-feature-name
with a descriptive name for your feature.
Make your changes or additions to the codebase. Ensure that you:
- Write clear and concise code.
- Include comments and docstrings where necessary.
- Update or add tests to cover your changes.
Stage your changes and commit them with a meaningful commit message:
git add .
git commit -m "Add your commit message here"
Push your branch to your GitHub fork:
git push origin feature/your-feature-name
- Navigate to your fork on GitHub.
- Click on the "Compare & pull request" button.
- Provide a clear and detailed description of your changes.
- Submit the pull request.
Our team will review your pull request and provide feedback or merge it as appropriate.
-
Code Style: Follow PEP 8 guidelines for Python code.
-
Documentation: Use clear and descriptive docstrings for functions, classes, and modules.
-
Testing: Write unit tests for new features and ensure existing tests pass by running:
pytest tests
-
Dependencies: Avoid adding unnecessary dependencies. If a new package is required, justify its inclusion in your pull request.
- Issues: Use GitHub Issues to report bugs or request features.
- Pull Requests: Engage in discussions on pull requests by providing constructive feedback.
- Direct Contact: For sensitive matters, you can contact the maintainers at universaltransitplatform@gmail.com.
By contributing, you agree that your contributions will be licensed under the MIT License.
Thank you for your contributions! Together, we can make public transportation more accessible worldwide.