From e785dbd4f726c5716f21071ed25dc35ac87c0c74 Mon Sep 17 00:00:00 2001 From: Aineopintojen-harjoitustyo-Algoritmit-j Date: Sat, 17 Feb 2024 09:41:48 +0200 Subject: Dev tools and directory structure rework. --- pyproject.toml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'pyproject.toml') diff --git a/pyproject.toml b/pyproject.toml index fd1ea78..ca26e7d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,9 +1,10 @@ [tool.poetry] name = "miinaharava" -version = "0.1.0" +version = "0.1" description = "Miinaharava ratkaisijalla" authors = ["Aineopintojen-harjoitustyo-Algoritmit-j "] readme = "README.md" +packages = [ { include = "miinaharava", from = "src" } ] [tool.poetry.dependencies] python = "^3.10" @@ -13,14 +14,18 @@ pytest = "^7.4.4" coverage = "^7.4.0" pylint = "^3.0.3" +[tool.poetry.scripts] +pylint = "dev:dev_pylint" +pytest = "dev:dev_pytest" +covhtml = "dev:dev_covhtml" +covxml = "dev:dev_covxml" +covff = "dev:dev_covff" +all = "dev:dev_all" + [build-system] requires = ["poetry-core"] build-backend = "poetry.core.masonry.api" [tool.pylint.main] recursive = true -source-roots = ["./"] - -[tool.pylint.basic] - -[tool.pylint.messages] +source-roots = ["src/miinaharava/"] -- cgit v1.2.3