git clone https://github.com/brolyroly007/docschat.git
cd docschat
pip install -r requirements-dev.txt
pre-commit install
cp .env.example .env
- Create a feature branch from
main
- Make your changes
- Run
ruff check . and ruff format .
- Run
pytest tests/ -v
- Commit and push
- Open a pull request
- Line length: 100 characters
- Formatter: Ruff
- Linter: Ruff (E, F, W, I, N, UP, B, SIM rules)
pytest tests/ -v --tb=short
api/ — FastAPI endpoints
cli/ — Typer CLI commands
core/ — RAG pipeline (chunker, embeddings, ingestion, retriever, rag)
database/ — SQLite connection and repositories
providers/ — LLM provider implementations
tests/ — Test suite