From a28140af920d6dccfeba8edc3a2df5be0d7901fb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 20 Mar 2024 16:13:57 +0000 Subject: [PATCH 1/2] Bump black in /src/somef/test/test_data/repositories/rdflib-6.0.2 Bumps [black](https://github.com/psf/black) from 21.6b0 to 24.3.0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/commits/24.3.0) --- updated-dependencies: - dependency-name: black dependency-type: direct:development ... Signed-off-by: dependabot[bot] --- .../test_data/repositories/rdflib-6.0.2/requirements.dev.txt | 2 +- src/somef/test/test_data/repositories/rdflib-6.0.2/setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/somef/test/test_data/repositories/rdflib-6.0.2/requirements.dev.txt b/src/somef/test/test_data/repositories/rdflib-6.0.2/requirements.dev.txt index fda1b49e..7fecc561 100644 --- a/src/somef/test/test_data/repositories/rdflib-6.0.2/requirements.dev.txt +++ b/src/somef/test/test_data/repositories/rdflib-6.0.2/requirements.dev.txt @@ -6,7 +6,7 @@ coverage flake8 doctest-ignore-unicode==0.1.2 berkeleydb -black==21.6b0 +black==24.3.0 flake8-black mypy types-setuptools diff --git a/src/somef/test/test_data/repositories/rdflib-6.0.2/setup.py b/src/somef/test/test_data/repositories/rdflib-6.0.2/setup.py index 475242f9..992a21f0 100644 --- a/src/somef/test/test_data/repositories/rdflib-6.0.2/setup.py +++ b/src/somef/test/test_data/repositories/rdflib-6.0.2/setup.py @@ -13,7 +13,7 @@ "nose==1.3.7", "nose-timer", "coverage", - "black==21.6b0", + "black==24.3.0", "flake8", "doctest-ignore-unicode==0.1.2", ] From ae22a4625f0fcbb777b5fad33fbdc7e76bbebefc Mon Sep 17 00:00:00 2001 From: StankovskiA Date: Wed, 15 May 2024 12:00:16 +0200 Subject: [PATCH 2/2] SOMEF-639: Replace hardcoded config paths --- src/somef/configuration.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/somef/configuration.py b/src/somef/configuration.py index 04b26e34..0277c180 100644 --- a/src/somef/configuration.py +++ b/src/somef/configuration.py @@ -7,10 +7,10 @@ from .utils import constants path = Path(__file__).parent.absolute() -default_description = str(path) + "/models/description.p" -default_invocation = str(path) + "/models/invocation.p" -default_installation = str(path) + "/models/installation.p" -default_citation = str(path) + "/models/citation.p" +default_description = os.path.join(str(path), "models", "description.p") +default_invocation = os.path.join(str(path), "models", "invocation.p") +default_installation = os.path.join(str(path), "models", "installation.p") +default_citation = os.path.join(str(path), "models", "citation.p") def get_configuration_file():