Fix CI tests for Mem0 (#1498)
This commit is contained in:
13
Makefile
13
Makefile
@@ -1,12 +1,18 @@
|
||||
.PHONY: format sort lint
|
||||
|
||||
# Variables
|
||||
RUFF_OPTIONS = --line-length 120
|
||||
ISORT_OPTIONS = --profile black
|
||||
PROJECT_NAME := mem0ai
|
||||
|
||||
# Default target
|
||||
all: format sort lint
|
||||
|
||||
install:
|
||||
poetry install
|
||||
|
||||
install_all:
|
||||
poetry install
|
||||
|
||||
# Format code with ruff
|
||||
format:
|
||||
poetry run ruff check . --fix $(RUFF_OPTIONS)
|
||||
@@ -17,7 +23,7 @@ sort:
|
||||
|
||||
# Lint code with ruff
|
||||
lint:
|
||||
poetry run ruff check . $(RUFF_OPTIONS)
|
||||
poetry run ruff .
|
||||
|
||||
docs:
|
||||
cd docs && mintlify dev
|
||||
@@ -30,3 +36,6 @@ publish:
|
||||
|
||||
clean:
|
||||
poetry run rm -rf dist
|
||||
|
||||
test:
|
||||
poetry run pytest
|
||||
|
||||
Reference in New Issue
Block a user