- Install uv guide
cd <this project folder>
uv sync
pre-commit install
cp .env.example .env
you do not need to do uv init
because we have already done it for you.
MacOS/Linux
source .venv/bin/activate
Windows
.venv\Scripts\activate
- code . (open the project in vscode)
- install the recommended extensions (cmd + shift + p ->
Extensions: Show Recommended Extensions
)
python -m langgraph_memory_redis.main
python -m pytest -p no:warnings --cov-report term-missing --cov=langgraph_memory_redis tests
these are handled by pre-commit hooks
ruff format .
ruff check .
pyright .
these are handled by pre-commit hooks
uv lock
uv export --frozen --no-dev --output-file=requirements.txt
uv export --frozen --all-groups --output-file=requirements.dev.txt
these are handled by pre-commit hooks
pip-audit -r requirements.txt