mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
In doing so, don't emphasise online docs over offline, but instead make this about an online/offline split and both are as important as each other.
23 lines
607 B
Makefile
23 lines
607 B
Makefile
test:
|
|
pytest --cov-report term-missing --cov=textual tests/ -vv
|
|
unit-test:
|
|
pytest --cov-report term-missing --cov=textual tests/ -vv -m "not integration_test"
|
|
test-snapshot-update:
|
|
pytest --cov-report term-missing --cov=textual tests/ -vv --snapshot-update
|
|
typecheck:
|
|
mypy src/textual
|
|
format:
|
|
black src
|
|
format-check:
|
|
black --check src
|
|
docs-serve:
|
|
rm -rf .screenshot_cache
|
|
mkdocs serve --config-file mkdocs-online.yml
|
|
docs-build:
|
|
mkdocs build --config-file mkdocs-online.yml
|
|
docs-build-offline:
|
|
mkdocs build --config-file mkdocs-offline.yml
|
|
docs-deploy:
|
|
rm -rf .screenshot_cache
|
|
mkdocs gh-deploy
|