Skip to content
Snippets Groups Projects
Makefile 463 B
Newer Older
Simonas's avatar
Simonas committed
format:
Simonas's avatar
Simonas committed
	poetry run black --target-version py39 -l 88 .
Simonas's avatar
Simonas committed
	poetry run ruff --select I --fix .

PYTHON_FILES=.
lint: PYTHON_FILES=.
lint_diff: PYTHON_FILES=$(shell git diff --name-only --diff-filter=d main | grep -E '\.py$$')

lint lint_diff:
Simonas's avatar
Simonas committed
	poetry run black --target-version py39 -l 88 $(PYTHON_FILES) --check
Simonas's avatar
Simonas committed
	poetry run ruff .
Simonas's avatar
Simonas committed
	poetry run mypy $(PYTHON_FILES)
	poetry run pytest -vv -n 20 --cov=semantic_router --cov-report=term-missing --cov-report=xml