mirror of
https://github.com/getzep/graphiti.git
synced 2025-06-27 02:00:02 +00:00

* feat: Update project name and description The project name and description in the `pyproject.toml` file have been updated to reflect the changes made to the project. * chore: Update pyproject.toml to include core package The `pyproject.toml` file has been updated to include the `core` package in the list of packages. This change ensures that the `core` package is included when building the project. * fix imports * fix importats
32 lines
545 B
Makefile
32 lines
545 B
Makefile
.PHONY: install format lint test all check
|
|
|
|
# Define variables
|
|
PYTHON = python3
|
|
POETRY = poetry
|
|
PYTEST = $(POETRY) run pytest
|
|
RUFF = $(POETRY) run ruff
|
|
MYPY = $(POETRY) run mypy
|
|
|
|
# Default target
|
|
all: format lint test
|
|
|
|
# Install dependencies
|
|
install:
|
|
$(POETRY) install --with dev
|
|
|
|
# Format code
|
|
format:
|
|
$(RUFF) check --select I --fix
|
|
$(RUFF) format
|
|
|
|
# Lint code
|
|
lint:
|
|
$(RUFF) check
|
|
$(MYPY) ./graphiti_core --show-column-numbers --show-error-codes --pretty
|
|
|
|
# Run tests
|
|
test:
|
|
$(PYTEST)
|
|
|
|
# Run format, lint, and test
|
|
check: format lint test |