diff options
-rwxr-xr-x | dev.sh | 4 | ||||
-rw-r--r-- | pyproject.toml | 5 |
2 files changed, 7 insertions, 2 deletions
@@ -48,7 +48,7 @@ case $1 in poetry-dev-deps) PYTHON_KEYRING_BACKEND=keyring.backends.fail.Keyring \ - poetry install --no-root + poetry install ;; dev) @@ -69,7 +69,7 @@ case $1 in ;; coverage) - poetry run python3 -m coverage run --branch -m pytest -v + poetry run python3 -m coverage run -m pytest -v ;; covhtml) diff --git a/pyproject.toml b/pyproject.toml index 65bbbe3..7fed447 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,6 +28,11 @@ requires = ["poetry-core"] build-backend = "poetry.core.masonry.api" +[tool.coverage.run] +branch = true +source = ["src/sliceitoff/"] + + [tool.pylint.main] recursive = true source-roots = ["src/sliceitoff"] |