33 lines
565 B
Makefile
33 lines
565 B
Makefile
.PHONY: install dev test test-unit lint format clean build uninstall
|
|||
|
|
|
||
|
|
install:
|
||
|
|
pip install -e ".[test]"
|
||
|
|
playwright install chromium
|
||
|
|
|
||
|
|
dev:
|
||
|
|
pip install -e ".[test]"
|
||
|
|
playwright install chromium
|
||
|
|
|
||
|
|
test: test-unit
|
||
|
|
|
||
|
|
test-unit:
|
||
|
|
pytest tests/ -v -m 'not online'
|
||
|
|
|
||
|
|
test-integration:
|
||
|
|
pytest tests/ -v -m online
|
||
|
|
|
||
|
|
lint:
|
||
|
|
ruff check stealthii tests
|
||
|
|
|
||
|
|
format:
|
||
|
|
ruff format stealthii tests
|
||
|
|
|
||
|
|
clean:
|
||
|
|
rm -rf __pycache__ *.egg-info dist build .eggs stealthii/__pycache__ tests/__pycache__ .pytest_cache .ruff_cache
|
||
|
|
|
||
|
|
build:
|
||
|
|
python -m build
|
||
|
|
|
||
|
|
uninstall:
|
||
|
|
pip uninstall -y stealthii
|