Files
t6_mem0/Makefile
Anusha Kondam 0a78cb9f7a added vector store test cases (#1868)
Co-authored-by: Dev Khant <devkhant24@gmail.com>
2024-09-16 23:51:29 +05:30

43 lines
621 B
Makefile

.PHONY: format sort lint
# Variables
ISORT_OPTIONS = --profile black
PROJECT_NAME := mem0ai
# Default target
all: format sort lint
install:
poetry install
install_all:
poetry install
poetry run pip install groq together boto3 litellm ollama chromadb sentence_transformers
# Format code with ruff
format:
poetry run ruff check . --fix $(RUFF_OPTIONS)
# Sort imports with isort
sort:
poetry run isort . $(ISORT_OPTIONS)
# Lint code with ruff
lint:
poetry run ruff .
docs:
cd docs && mintlify dev
build:
poetry build
publish:
poetry publish
clean:
poetry run rm -rf dist
test:
poetry run pytest tests