1
0
Fork 0
textual-textarea/Makefile

22 lines
429 B
Makefile
Raw Normal View History

.PHONY: check
check:
ruff format .
ruff check . --fix
mypy
pytest
.PHONY: lint
lint:
ruff format .
ruff check . --fix
mypy
.PHONY: serve
serve:
textual run --dev -c python -m textual_textarea
profiles: .profiles/startup.html
.profiles/startup.html: src/scripts/profile_startup.py pyproject.toml $(wildcard src/textual_textarea/**/*.py)
pyinstrument -r html -o .profiles/startup.html "src/scripts/profile_startup.py"