From eb4968ebffa68dd362ec9321a1bbb27e41d99e8a Mon Sep 17 00:00:00 2001 From: nh916 Date: Wed, 27 Sep 2023 15:06:12 -0700 Subject: [PATCH] formatted with trunk --- conftest.py | 1 - src/cript/nodes/primary_nodes/project.py | 2 +- tests/api/test_api.py | 2 +- tests/utils/integration_test_helper.py | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/conftest.py b/conftest.py index 49a1ce161..8882f7076 100644 --- a/conftest.py +++ b/conftest.py @@ -68,4 +68,3 @@ def cript_api(): @pytest.fixture(autouse=True) def inject_doctest_namespace(doctest_namespace, cript_api): doctest_namespace["api"] = cript_api - diff --git a/src/cript/nodes/primary_nodes/project.py b/src/cript/nodes/primary_nodes/project.py index 918b934cc..0026e7974 100644 --- a/src/cript/nodes/primary_nodes/project.py +++ b/src/cript/nodes/primary_nodes/project.py @@ -76,7 +76,7 @@ def __init__(self, name: str, collection: Optional[List[Collection]] = None, mat >>> import cript >>> my_project = cript.Project(name="my Project name") - + Parameters ---------- name: str diff --git a/tests/api/test_api.py b/tests/api/test_api.py index fcad1895a..b4958dd0f 100644 --- a/tests/api/test_api.py +++ b/tests/api/test_api.py @@ -10,10 +10,10 @@ import requests import cript +from conftest import HAS_INTEGRATION_TESTS_ENABLED from cript.api.exceptions import InvalidVocabulary from cript.api.paginator import Paginator from cript.nodes.exceptions import CRIPTNodeSchemaError -from conftest import HAS_INTEGRATION_TESTS_ENABLED def test_api_with_invalid_host() -> None: diff --git a/tests/utils/integration_test_helper.py b/tests/utils/integration_test_helper.py index e98a608ab..0639a9028 100644 --- a/tests/utils/integration_test_helper.py +++ b/tests/utils/integration_test_helper.py @@ -4,8 +4,8 @@ from deepdiff import DeepDiff import cript -from cript.nodes.uuid_base import UUIDBaseNode from conftest import HAS_INTEGRATION_TESTS_ENABLED +from cript.nodes.uuid_base import UUIDBaseNode def save_integration_node_helper(cript_api: cript.API, project_node: cript.Project):