From b2109f43a5e1aac27f1d4f48bd834a8af93dcad7 Mon Sep 17 00:00:00 2001 From: Benjamin Thomas Schwertfeger Date: Tue, 4 Jul 2023 17:12:37 +0200 Subject: [PATCH 1/3] extended issues templates --- .github/ISSUE_TEMPLATE/feature_request.md | 2 +- .github/ISSUE_TEMPLATE/question.md | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 .github/ISSUE_TEMPLATE/question.md diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index 2bc5d5f7..92ab825d 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -2,7 +2,7 @@ name: Feature request about: Suggest an idea for this project title: "" -labels: "" +labels: "Feature" assignees: "" --- diff --git a/.github/ISSUE_TEMPLATE/question.md b/.github/ISSUE_TEMPLATE/question.md new file mode 100644 index 00000000..ab84997d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/question.md @@ -0,0 +1,9 @@ +--- +name: General question +about: Help us to understand your findings +title: "" +labels: "Question" +assignees: "" +--- + +There is no stupid question. From fde665292f9be7c9416c43be5edf0e0141f91652 Mon Sep 17 00:00:00 2001 From: Benjamin Thomas Schwertfeger Date: Tue, 4 Jul 2023 17:13:08 +0200 Subject: [PATCH 2/3] dumped setuptools; adjust formatting --- pyproject.toml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index ceb795f8..d965b9c4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2", "wheel"] +requires = ["setuptools>=65.5.1", "setuptools_scm[toml]>=6.2", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -65,8 +65,15 @@ examples = ["matplotlib"] include-package-data = false [tool.setuptools.packages.find] -include = ["kraken*"] -exclude = ["docs*", "tests*", "examples*", ".env"] +include = [ + "kraken*" +] +exclude = [ + "docs*", + "tests*", + "examples*", + ".env" +] [tool.setuptools_scm] write_to = "kraken/_version.py" @@ -81,7 +88,7 @@ testpaths = ["tests"] [tool.pytest.ini_options] markers = [ - "select: Used to run a specific test by hand.", + "wip: Used to run a specific test by hand.", "spot: mark a test that tests a Spot endpoint.", "spot_auth: mark a test that tests a authenticaed Spot endpoint.", "spot_trade: mark a test that tests a Spot Trade endpoint.", From e7b1e24364ca1cf4a9cfee7963c0855a2bebcabf Mon Sep 17 00:00:00 2001 From: Benjamin Thomas Schwertfeger Date: Tue, 4 Jul 2023 17:13:22 +0200 Subject: [PATCH 3/3] added make target --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e7a7cda9..a5cf76bf 100644 --- a/Makefile +++ b/Makefile @@ -40,13 +40,16 @@ install: $(PYTHON) -m pip install . ## ======= T E S T I N G ======= -## test Run the unittests +## test Run the unit tests ## test: $(PYTEST) $(PYTEST_OPTS) $(TEST_DIR) tests: test +test-wip: + $(PYTEST) -m "wip" -vv $(TEST_DIR) + coverage: $(PYTEST) $(PYTEST_COV_OPTS) $(TEST_DIR)