From fde418e827267ed07165736ba7b157f4a540d4e3 Mon Sep 17 00:00:00 2001 From: chekos Date: Thu, 6 Apr 2023 11:20:04 -0700 Subject: [PATCH] add coverage-badge --- poetry.lock | 17 ++++++++++++++++- pyproject.toml | 3 ++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/poetry.lock b/poetry.lock index df10216..e4628f2 100644 --- a/poetry.lock +++ b/poetry.lock @@ -355,6 +355,21 @@ tomli = {version = "*", optional = true, markers = "python_full_version <= \"3.1 [package.extras] toml = ["tomli"] +[[package]] +name = "coverage-badge" +version = "1.1.0" +description = "Generate coverage badges for Coverage.py." +category = "main" +optional = false +python-versions = "*" +files = [ + {file = "coverage-badge-1.1.0.tar.gz", hash = "sha256:c824a106503e981c02821e7d32f008fb3984b2338aa8c3800ec9357e33345b78"}, + {file = "coverage_badge-1.1.0-py2.py3-none-any.whl", hash = "sha256:e365d56e5202e923d1b237f82defd628a02d1d645a147f867ac85c58c81d7997"}, +] + +[package.dependencies] +coverage = "*" + [[package]] name = "darglint" version = "1.8.1" @@ -1692,4 +1707,4 @@ files = [ [metadata] lock-version = "2.0" python-versions = ">=3.8.0,<3.11" -content-hash = "8578257d3a861933c3723840e1dae17408731ef4fa7b225d43016e4954862cc1" +content-hash = "9cc42acede0c7db922ed18c8503398ac742c9d461c5954731f7da9dc7184d56e" diff --git a/pyproject.toml b/pyproject.toml index 51b517c..fee6c42 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,7 +37,6 @@ rich = ">=13.3.3,<14.0.0" requests = "^2.28.2" ipython = ">=8.12.0,<9.0.0" pandas = ">=1.5,<2.0.0" -pytest-cov = "^4.0.0" [tool.poetry.dev-dependencies] darglint = "^1.8.0" @@ -51,6 +50,8 @@ pytest = "^7.2.2" pylint = "^2.17.2" pydocstyle = "^6.3.0" pre-commit = "^3.2.2" +pytest-cov = "^4.0.0" +coverage-badge = "^1.1.0" [tool.black] # https://github.com/psf/black