mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
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:
8
Makefile
8
Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user