From 88ea69a41bd1de8d550b896b1a116e2b48f83d77 Mon Sep 17 00:00:00 2001 From: Viljami Ilola <+@hix.fi> Date: Tue, 9 Apr 2024 13:00:14 +0300 Subject: dev-env fix --- dev.sh | 4 ++-- pyproject.toml | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/dev.sh b/dev.sh index c591caf..9c324d4 100755 --- a/dev.sh +++ b/dev.sh @@ -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"] -- cgit v1.2.3