From 4e97539baa35528f9e8a0cca51188fb95e7cf7c4 Mon Sep 17 00:00:00 2001 From: Carlos Martinez Date: Sun, 18 Feb 2024 13:16:54 +0100 Subject: [PATCH] Preparing for release 1.3.9 --- .dockerignore | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++ .flake8 | 6 ++++-- .gitignore | 1 + CITATION.cff | 4 ++-- src/prov.py | 2 +- 5 files changed, 63 insertions(+), 5 deletions(-) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..fc00cec --- /dev/null +++ b/.dockerignore @@ -0,0 +1,55 @@ +# SPDX-FileCopyrightText: 2022 Albert Meroño, Rinke Hoekstra, Carlos Martínez +# +# SPDX-License-Identifier: MIT + +*~ +\#*\# +bin/ +!bin/grlc-server +build/ +config.ini +db-cache.json +db.json +DispatchSparqlQuery.ipynb +docker-compose.yml +Dockerfile2 +*/.DS_Store +.eggs/ +FileLoaders.ipynb +Get_Parameters.ipynb +GetYamlDecorators.ipynb +.git/ +.*!.gitignore +grlc.egg-info/ +.idea +include/ +ink_ext_XXXXXX_img0.png +.ipynb_checkpoints/ +lib/ +local/ +*.log +node_modules +pip-selfcheck.json +Process_sparql_query_text.ipynb +*.pyc +.pytest_cache +.Python +ReleaseProcedure.md +response_1700168662326.html +Rewrite_Query.ipynb +share/ +src/config.ini +src/FileLoaderTesting.ipynb +ssl-certificates/ +!static/swagger-ui/dist/lib +*.swp +testQueries/ +TODOs.md +TwitterAPIKeys.md +venv3.10/ +venv3.11/ +venv3.8/ +venv3.9/ +venv-dev/ +venv-tests.sh +.vscode/ diff --git a/.flake8 b/.flake8 index fc07b02..ff833a1 100644 --- a/.flake8 +++ b/.flake8 @@ -1,3 +1,5 @@ [flake8] -per-file-ignores = src/__init__.py:F401 - +per-file-ignores = + src/__init__.py:F401 + src/prov.py:E203 + tests/test_grlc.py:F401 diff --git a/.gitignore b/.gitignore index c639a0b..ac09f82 100644 --- a/.gitignore +++ b/.gitignore @@ -39,3 +39,4 @@ TODOs.md TwitterAPIKeys.md config.ini ink_ext_XXXXXX_img0.png +build/ diff --git a/CITATION.cff b/CITATION.cff index 0f383a0..c7d6c84 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -16,7 +16,7 @@ authors: given-names: Carlos orcid: "https://orcid.org/0000-0001-5565-7577" cff-version: "1.0.3" -date-released: 2023-07-30 +date-released: 2024-02-17 doi: 10.5281/zenodo.1064391 license: MIT message: "If you use this software, please cite it as below." @@ -29,4 +29,4 @@ keywords: - "linked-data" - "semantic-web" - "linked-data-api" -version: "1.3.8" +version: "1.3.9" diff --git a/src/prov.py b/src/prov.py index 740d494..0f5cf36 100644 --- a/src/prov.py +++ b/src/prov.py @@ -56,7 +56,7 @@ def init_prov_graph(self): "PROV-O", ] ).decode("utf-8") - repo_prov = repo_prov[repo_prov.find("@"):] + repo_prov = repo_prov[repo_prov.find("@") :] # glogger.debug('Git2PROV output: {}'.format(repo_prov)) glogger.debug("Ingesting Git2PROV output into RDF graph") with open("temp.prov.ttl", "w") as temp_prov: