First off, thanks for taking the time to contribute! 🎉
We welcome contributions of all forms, including code, documentation, bug reports, and feature requests.
- Fork the repository on GitHub.
- Clone your fork:
git clone https://github.com/YOUR_USERNAME/agent-tidb-mvp-demo.git cd agent-tidb-mvp-demo - Set up the environment:
python3 -m venv .venv source .venv/bin/activate pip install -e ".[dev]" # Install dev dependencies
- Configure environment variables:
cp .env.example .env # Edit .env with your API keys if needed
- Create a branch for your changes:
git checkout -b feature/amazing-feature
- Make your changes. Keep them focused and concise.
- Run checks locally (using
Makefileif available, or manual commands):# Linting ruff check . ruff format . # Type checking mypy src/
- Commit your changes with descriptive messages.
git commit -m "feat: add amazing feature" - Push to your fork:
git push origin feature/amazing-feature
- Open a Pull Request against the
mainbranch of the original repository.
- Description: clearly describe what your PR does.
- Testing: ensure your changes work as expected. Add tests if applicable.
- Linting: ensure your code passes linting checks.
- Size: keep PRs small and focused. Large PRs are harder to review.
Please check existing issues before opening a new one. If you find a new bug, open an issue using the Bug Report template. Include:
- Steps to reproduce.
- Expected vs. actual behavior.
- Logs or screenshots if possible.
We use ruff for linting and formatting. Please ensure your code complies with the project's style.
Thank you for contributing!