Contributing to CitySeg¶
We welcome contributions to CitySeg! This document provides guidelines for contributing to the project.
Getting Started¶
- Fork the repository on GitHub.
- Clone your fork locally.
- Create a new branch for your feature or bug fix.
Making Changes¶
- Make your changes in your branch.
- Add or update tests as necessary.
- Run the test suite to ensure all tests pass.
- Update the documentation if you've made changes to the API or added new features.
Submitting Changes¶
- Push your changes to your fork on GitHub.
- Submit a pull request to the main repository.
- Describe your changes in the pull request description.
Code Style¶
We follow PEP 8 for Python code style. Please ensure your code adheres to these standards. We recommend using Ruff for quick, automatic code formatting, but this is not required.
Environment and dependency management¶
We use Rye for managing Python environments and dependencies. If using Rye, you can easily add dependencies to your environment by running rye add <package>. This will automatically update the requirements.txt and pyproject.toml files. If you are not using Rye, please ensure you update these files manually.
Reporting Issues¶
If you find a bug or have a suggestion for improvement, please open an issue on the GitHub repository.
Thank you for contributing to CitySeg!