Contributing¶
We appreciate all contributions to improve VisDet. Please follow the guidelines below.
Workflow¶
- Fork and clone the repository
- Create a new branch for your changes
- Make your changes
- Run tests to ensure everything works
- Submit a pull request
Code Style¶
We use the following tools to maintain code quality:
rufffor linting and formattingpyrightfor type checkingprekhooks for automated checks (faster Rust-based alternative to pre-commit)
To set up the development environment:
# Clone the repository
git clone <your-repository-url>
cd visdet
# Install all dependencies (including dev dependencies)
uv sync
# Set up prek hooks
uv run prek install
Testing¶
Before submitting a pull request, make sure all tests pass:
Documentation¶
If you add new features, please update the documentation accordingly.
Questions?¶
If you have any questions, please open an issue or reach out to the maintainers.