From 69edad14e45912cfb0e62d61bc1e6e3f65ced03a Mon Sep 17 00:00:00 2001 From: "McDonnell, Marshall" Date: Wed, 5 Jun 2024 13:51:57 -0400 Subject: [PATCH 1/2] Changes docs deps to optional vs. pdm dev --- pyproject.toml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 373982e..f4e66ac 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,6 +44,10 @@ amqp = [ py38 = [ "eval-type-backport>=0.1.3", ] +docs = [ + "sphinx>=5.3.0", + "furo>=2023.3.27", +] [tool.pdm.dev-dependencies] lint = [ @@ -57,12 +61,7 @@ test = [ "pytest-cov>=4.1.0", "httpretty>=1.1.4", ] -doc = [ - "sphinx>=5.3.0", - "furo>=2023.3.27", -] -":lint" = [ -] + [tool.pdm.scripts] test-all = "pytest tests/ --cov=src/intersect_sdk/ --cov-fail-under=80 --cov-report=html:reports/htmlcov/ --cov-report=xml:reports/coverage_report.xml --junitxml=reports/junit.xml" From 94c697bccfc9b3b70c18f7e2d5ff0e2bf45dc8e2 Mon Sep 17 00:00:00 2001 From: "McDonnell, Marshall" Date: Wed, 5 Jun 2024 13:52:12 -0400 Subject: [PATCH 2/2] Fixes rtd optional dep config --- .readthedocs.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index a39a8e0..d3ff610 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -18,4 +18,4 @@ python: - method: pip path: . extra_requirements: - - doc + - docs