Add a couple of Makefile targets for things I'm forever typing

Well, completing in my shell but you get the idea...
This commit is contained in:
Dave Pearson
2023-08-23 14:31:18 +01:00
parent c8b06e073f
commit 6023e774ad

View File

@@ -12,6 +12,10 @@ unit-test:
test-snapshot-update:
$(run) pytest --cov-report term-missing --cov=textual tests/ -vv --snapshot-update
.PHONY: coverage
coverage:
$(run) coverage html
.PHONY: typecheck
typecheck:
$(run) mypy src/textual
@@ -89,3 +93,7 @@ update:
.PHONY: install-pre-commit
install-pre-commit:
$(run) pre-commit install
.PHONY: demo
demo:
$(run) python -m textual