File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11
22PYTHON ?= python3
33
4- .PHONY : doc
5-
64.venv/bin/pip :
75 ${PYTHON} -m venv .venv
86 .venv/bin/pip3 install --upgrade pip wheel
97
8+ .PHONY : venv
109venv : .venv/bin/pip
1110
11+ .PHONY : dev
1212dev : venv
1313 .venv/bin/pip3 install -e .[dev]
1414
15+ .PHONY : cs
1516cs : venv
1617 .venv/bin/flake8 pytest_httpserver tests
1718
19+ .PHONY : autoformat
1820autoformat : dev
1921 .venv/bin/autopep8 --in-place --recursive pytest_httpserver tests
2022
23+ .PHONY : mrproper
2124mrproper : clean
2225 rm -rf dist
2326
27+ .PHONY : clean
2428clean : cov-clean doc-clean
2529 rm -rf .venv * .egg-info build .eggs __pycache__ * /__pycache__ .tox
2630
31+ .PHONY : quick-test
2732quick-test :
2833 .venv/bin/pytest tests -s -vv
2934
35+ .PHONY : test
3036test :
3137 tox
3238
39+ .PHONY : test-pdb
3340test-pdb :
3441 .venv/bin/pytest tests -s -vv --pdb
3542
43+ .PHONY : cov
3644cov : cov-clean
3745 .venv/bin/pytest --cov pytest_httpserver --cov-report=term --cov-report=html --cov-report=xml tests
3846
47+ .PHONY : cov-clean
3948cov-clean :
4049 rm -rf htmlcov
4150
51+ .PHONY : doc
4252doc : .venv
4353 .venv/bin/sphinx-build -M html doc doc/_build $(SPHINXOPTS ) $(O )
4454
55+ .PHONY : doc-clean
4556doc-clean :
4657 rm -rf doc/_build
4758
59+ .PHONY : changes
4860changes :
4961 reno report --output CHANGES.rst --no-show-source
You can’t perform that action at this time.
0 commit comments