summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViljami Ilola <+@hix.fi>2024-04-09 13:00:14 +0300
committerViljami Ilola <+@hix.fi>2024-04-09 13:00:14 +0300
commit88ea69a41bd1de8d550b896b1a116e2b48f83d77 (patch)
treee5c76fb28335e43061961b89aa8573a98e0b68f0
parentc8edef5a996da11b1629905d0c37c4b223bcf690 (diff)
dev-env fix
-rwxr-xr-xdev.sh4
-rw-r--r--pyproject.toml5
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"]