Debian Codegraph @

Makefile

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 .PHONY: all
2 all: format test
3
4 .PHONY: format
5 format:
6 yapf -r -p -i .
7
8 .PHONY: test
9 test:
10 PYTHONPATH=.:$$PYTHONPATH mypy nvpy tests benchmarks debug-utils
11 PYTHONPATH=.:$$PYTHONPATH coverage run -m unittest discover -s tests -p '*.py'
12 # Generate coverage report.
13 coverage report --skip-covered nvpy/*.py
14 coverage html
15 # Open htmlcov/index.html in a Web browser.
16
17 .PHONY: benchmark
18 benchmark:
19 PYTHONPATH=.:$$PYTHONPATH python3 benchmarks/sorters.py
20 PYTHONPATH=.:$$PYTHONPATH python3 benchmarks/notes_list.py
21
22 .PHONY: docs
23 docs:
24 python3 -m pdoc --http localhost:8080 nvpy