DeepTutor: Lifelong Personalized Tutoring. https://deeptutor.info/.
Python ai-agentsai-tutorclawbotcli-tooldeepresearchinteractive-learninglearningmulti-agent-systemsrag
update
Bingxi Zhao (Frank)720f0c011c4f
diff --git a/README.md b/README.mdindex f6a28600b..6c696c01f 100644--- a/README.md+++ b/README.md@@ -1293,93 +1293,6 @@ This project is licensed under the **[AGPL-3.0 License](LICENSE)**.</a></div> 2-->--## 🤝 Contribution--We welcome contributions from the community! To ensure code quality and consistency, please follow the guidelines below.--<details>-<summary><b>Development Setup</b></summary>--### Pre-commit Hooks Setup--This project uses **pre-commit hooks** to automatically format code and check for issues before commits.--**Step 1: Install pre-commit**-```bash-# Using pip-pip install pre-commit--# Or using conda-conda install -c conda-forge pre-commit-```--**Step 2: Install Git hooks**-```bash-cd DeepTutor-pre-commit install-```--**Step 3: (Optional) Run checks on all files**-```bash-pre-commit run --all-files-```--Every time you run `git commit`, pre-commit hooks will automatically:-- Format Python code with Ruff-- Format frontend code with Prettier-- Check for syntax errors-- Validate YAML/JSON files-- Detect potential security issues--### Code Quality Tools--| Tool | Purpose | Configuration |-|:---:|:---|:---:|-| **Ruff** | Python linting & formatting | `pyproject.toml` |-| **Prettier** | Frontend code formatting | `web/.prettierrc.json` |-| **detect-secrets** | Security check | `.secrets.baseline` |--> **Note**: The project uses **Ruff format** instead of Black to avoid formatting conflicts.--### Common Commands--```bash-# Normal commit (hooks run automatically)-git commit -m "Your commit message"--# Manually check all files-pre-commit run --all-files--# Update hooks to latest versions-pre-commit autoupdate--# Skip hooks (not recommended, only for emergencies)-git commit --no-verify -m "Emergency fix"-```--</details>--### Contribution Guidelines--1. **Fork and Clone**: Fork the repository and clone your fork-2. **Create Branch**: Create a feature branch from `main`-3. **Install Pre-commit**: Follow the setup steps above-4. **Make Changes**: Write your code following the project's style-5. **Test**: Ensure your changes work correctly-6. **Commit**: Pre-commit hooks will automatically format your code-7. **Push and PR**: Push to your fork and create a Pull Request--### Reporting Issues--- Use GitHub Issues to report bugs or suggest features-- Provide detailed information about the issue-- Include steps to reproduce if it's a bug--<div align="center">-<br>-❤️ We thank all our contributors for their valuable contributions.-</div>## 🔗 Related Projects