diff options
author | Viljami Ilola <+@hix.fi> | 2024-04-09 13:00:14 +0300 |
---|---|---|
committer | Viljami Ilola <+@hix.fi> | 2024-04-09 13:00:14 +0300 |
commit | 88ea69a41bd1de8d550b896b1a116e2b48f83d77 (patch) | |
tree | e5c76fb28335e43061961b89aa8573a98e0b68f0 | |
parent | c8edef5a996da11b1629905d0c37c4b223bcf690 (diff) |
dev-env fix
-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"] |