PYTHON ?= python3

.PHONY: install test lint format typecheck build scan-self

install:
	$(PYTHON) -m pip install -e .[dev]

test:
	pytest

lint:
	ruff check .

format:
	black .
	ruff check . --fix

typecheck:
	mypy

build:
	$(PYTHON) -m build

scan-self:
	$(PYTHON) -m pyguard.cli scan .

