Skip to content

Commit

Permalink
Bump to 0.4.3. Upgrade ruff, black and pre-commit versions
Browse files Browse the repository at this point in the history
  • Loading branch information
vemonet committed Nov 28, 2023
1 parent ee4e4a4 commit 70e7129
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/rdflib_endpoint/__init__.py
Original file line number Diff line number Diff line change
@@ -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
3 changes: 0 additions & 3 deletions src/rdflib_endpoint/sparql_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 70e7129

Please sign in to comment.