From 4c05c6e2ec98c011487d7cd626a77bcfccc90738 Mon Sep 17 00:00:00 2001 From: Ron Rademaker Date: Wed, 14 Feb 2024 15:26:37 +0000 Subject: [PATCH] Add poe for testing --- poetry.lock | 33 ++++++++++++++++++++++++++++++++- pyproject.toml | 4 ++++ 2 files changed, 36 insertions(+), 1 deletion(-) diff --git a/poetry.lock b/poetry.lock index 7cec1f2..e2152f6 100644 --- a/poetry.lock +++ b/poetry.lock @@ -151,6 +151,18 @@ files = [ {file = "packaging-23.2.tar.gz", hash = "sha256:048fb0e9405036518eaaf48a55953c750c11e1a1b68e0dd1a9d62ed0c092cfc5"}, ] +[[package]] +name = "pastel" +version = "0.2.1" +description = "Bring colors to your terminal." +category = "dev" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +files = [ + {file = "pastel-0.2.1-py2.py3-none-any.whl", hash = "sha256:4349225fcdf6c2bb34d483e523475de5bb04a5c10ef711263452cb37d7dd4364"}, + {file = "pastel-0.2.1.tar.gz", hash = "sha256:e6581ac04e973cac858828c6202c1e1e81fee1dc7de7683f3e1ffe0bfd8a573d"}, +] + [[package]] name = "pathspec" version = "0.12.1" @@ -195,6 +207,25 @@ files = [ dev = ["pre-commit", "tox"] testing = ["pytest", "pytest-benchmark"] +[[package]] +name = "poethepoet" +version = "0.24.4" +description = "A task runner that works well with poetry." +category = "dev" +optional = false +python-versions = ">=3.8" +files = [ + {file = "poethepoet-0.24.4-py3-none-any.whl", hash = "sha256:fb4ea35d7f40fe2081ea917d2e4102e2310fda2cde78974050ca83896e229075"}, + {file = "poethepoet-0.24.4.tar.gz", hash = "sha256:ff4220843a87c888cbcb5312c8905214701d0af60ac7271795baa8369b428fef"}, +] + +[package.dependencies] +pastel = ">=0.2.1,<0.3.0" +tomli = ">=1.2.2" + +[package.extras] +poetry-plugin = ["poetry (>=1.0,<2.0)"] + [[package]] name = "psycopg2-binary" version = "2.9.1" @@ -420,4 +451,4 @@ postgresql = ["psycopg2-binary"] [metadata] lock-version = "2.0" python-versions = "^3.8" -content-hash = "9657d7d746a17107b50ab54a082568af8eb8340057c36141ff1dd90e6c3a3e48" +content-hash = "10119d2d258aafafa20a1668800237efb8929308b371b9ebea506c623a501ce4" diff --git a/pyproject.toml b/pyproject.toml index 086f6ad..2751ea7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,6 +19,7 @@ sqlalchemy-utils = "^0.37.8" [tool.poetry.group.dev.dependencies] black = "^24.2.0" +poethepoet = "^0.24.4" [build-system] requires = ["poetry-core>=1.0.0"] @@ -27,3 +28,6 @@ build-backend = "poetry.core.masonry.api" [tool.poetry.extras] mysql = ["mysql-connector-python-rf"] postgresql = ["psycopg2-binary"] + +[tool.poe.tasks] +test = "pytest test" \ No newline at end of file