A Python app using Poetry.
Poetry is required.
poetry install
poetry run sample_py
Run all tests:
poetry run pytest
poetry run pytest --cov=sample_py
To view an HTML report:
poetry run pytest --cov=sample_py --cov-report html
open coverage_html_report/index.html
For Coverage Gutters
poetry run pytest --cov=sample_py --cov-report xml
poetry run mypy sample_py
poetry run pydeps sample_py --max-bacon=4 --cluster
<title>G</title><style>.edge>path:hover{stroke-width:8}</style> <title>sample_py_area</title><style>.edge>path:hover{stroke-width:8}</style> sample_py.area <title>sample_py_cli</title><style>.edge>path:hover{stroke-width:8}</style> sample_py.cli <title>sample_py_area->sample_py_cli</title><style>.edge>path:hover{stroke-width:8}</style> <title>sample_py_area_ellipse</title><style>.edge>path:hover{stroke-width:8}</style> sample_py. area. ellipse <title>sample_py_area_ellipse->sample_py_cli</title><style>.edge>path:hover{stroke-width:8}</style> <title>sample_py_area_polygon</title><style>.edge>path:hover{stroke-width:8}</style> sample_py. area. polygon <title>sample_py_area_polygon->sample_py_cli</title><style>.edge>path:hover{stroke-width:8}</style> <title>sample_py_arith</title><style>.edge>path:hover{stroke-width:8}</style> sample_py. arith <title>sample_py_arith->sample_py_cli</title><style>.edge>path:hover{stroke-width:8}</style> <title>sample_py_arith_basic</title><style>.edge>path:hover{stroke-width:8}</style> sample_py. arith. basic <title>sample_py_arith_basic->sample_py_cli</title><style>.edge>path:hover{stroke-width:8}</style>