LightRAG icon indicating copy to clipboard operation
LightRAG copied to clipboard

How to Contribute to LightRAG

Open YanSte opened this issue 10 months ago β€’ 0 comments

πŸš€ Handy Tips for Developers Contributing to the Project

Before you start

  • If you come across an issue labeled with [Feature Request] and are interested in contributing to it, please leave a comment on the issue to confirm its objectives and proposed solution before starting to write code.
  • If you have your own ideas or features to implement, first create a [Feature Request] issue, clearly outlining the background, goals, and proposed solution before beginning development. This process helps avoid duplicating work or proposing solutions that may not align with the community's expectations.
  • If you simply find a bug that needs fixing, you can directly make the changes and submit a PR.

βœ… Setup

Before committing your changes, please ensure to follow this steps.

πŸ“– Setup Guide

1️⃣ Install the Project

β€’ Clone the LightRAG repository: git clone <repository_url> β€’ Navigate to the root directory of the project: cd LightRAG β€’ Install dependencies: pip install . -e

2️⃣ Install and Run Pre-commit Hooks

β€’ Install pre-commit using pip: pip install pre-commit β€’ Initialize pre-commit in your repository: pre-commit install β€’ Run pre-commit hooks manually: pre-commit run --all-files

3️⃣ Before Creating a Pull Request

To ensure all CI validations pass before opening a pull request, run: pre-commit run --all-files

Fix any reported issues, and you’re good to go! πŸš€

Thanks πŸ™πŸ»

YanSte avatar Feb 19 '25 08:02 YanSte