-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (21 loc) · 688 Bytes
/
Makefile
File metadata and controls
28 lines (21 loc) · 688 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
.DEFAULT_GOAL := build
CHECK_DIRS = pp_terminal tests
clean:
rm -rf dist __pycache__ *.pyc *.pyo .poetry
git submodule foreach --recursive git reset --hard
install: clean
poetry install $(ARGS)
patch -p1 < ./patch_ppxml2db.diff
check:
poetry check
poetry run pylint $(CHECK_DIRS)
poetry run bandit -c bandit.yaml -r $(CHECK_DIRS)
poetry run mypy .
test:
poetry run coverage run --data-file=tests/.coverage -m pytest tests
test-mutations:
poetry run mutmut run && poetry run mutmut results
build: install check test
poetry build
inspect-mcp:
cd tests/fixtures/ && npx @modelcontextprotocol/inspector -- poetry run pp-terminal --no-cache --config kommer.toml mcp $(ARGS)