diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d556943..5dc7083 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ # See https://pre-commit.com for more information repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.5.0 hooks: - id: check-added-large-files name: " 🐘 Check for added large files" @@ -16,12 +16,12 @@ repos: - id: trailing-whitespace name: " ✂️ Trim trailing whitespaces" - repo: https://github.com/psf/black - rev: 23.3.0 + rev: 23.11.0 hooks: - id: black name: " ✒️ Formatting code with Black" - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: v0.0.277 + rev: v0.1.6 hooks: - id: ruff name: " ⚡️ Formatting code with Ruff" diff --git a/src/rdflib_endpoint/__init__.py b/src/rdflib_endpoint/__init__.py index 3e32e07..7c6d1b5 100644 --- a/src/rdflib_endpoint/__init__.py +++ b/src/rdflib_endpoint/__init__.py @@ -1,6 +1,6 @@ """A package to deploy SPARQL endpoint to serve local RDF files, machine learning models, or any other logic implemented in Python, using RDFLib and FastAPI.""" -__version__ = "0.4.2" +__version__ = "0.4.3" from .sparql_router import SparqlRouter from .sparql_endpoint import SparqlEndpoint diff --git a/src/rdflib_endpoint/sparql_router.py b/src/rdflib_endpoint/sparql_router.py index 01322bd..1f3f0d9 100644 --- a/src/rdflib_endpoint/sparql_router.py +++ b/src/rdflib_endpoint/sparql_router.py @@ -182,9 +182,6 @@ def __init__( self.enable_update = enable_update self.favicon = favicon - # if example_query: - # logging.warning("DEPRECATED: the param example_query will be soon removed from future versions. Use examples_queries instead") - # Instantiate APIRouter super().__init__( *args,