diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 59e45f6f..4a76487a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -34,7 +34,7 @@ repos: # the language # It works on files in-place - repo: https://github.com/asottile/pyupgrade - rev: v3.19.0 + rev: v3.19.1 hooks: - id: pyupgrade args: [--py39-plus, --keep-runtime-typing] @@ -42,7 +42,7 @@ repos: # Black is a code style and formatter # It works on files in-place - repo: https://github.com/psf/black - rev: 24.10.0 + rev: 25.1.0 hooks: - id: black @@ -51,7 +51,7 @@ repos: # More information can be found in its documentation: # https://docs.astral.sh/ruff/ - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.7.4 + rev: v0.9.6 hooks: - id: ruff # Fix what can be fixed in-place and exit with non-zero status if files were @@ -66,7 +66,7 @@ repos: # More information can be found in its documentation: # https://bandit.readthedocs.io/en/latest/ - repo: https://github.com/PyCQA/bandit - rev: 1.7.10 + rev: 1.8.2 hooks: - id: bandit args: ["-r"] @@ -78,7 +78,7 @@ repos: # The project's documentation can be found at: # https://mypy.readthedocs.io/en/stable/index.html - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.13.0 + rev: v1.15.0 hooks: - id: mypy exclude: ^tests/.*$ @@ -91,7 +91,7 @@ repos: # More information can be found in its documentation: # https://SINTEF.github.io/ci-cd/ - repo: https://github.com/SINTEF/ci-cd - rev: v2.8.3 + rev: v2.9.0 hooks: - id: docs-api-reference args: diff --git a/oteapi_dlite/utils/__init__.py b/oteapi_dlite/utils/__init__.py index 325c65f6..7bca18c3 100644 --- a/oteapi_dlite/utils/__init__.py +++ b/oteapi_dlite/utils/__init__.py @@ -24,8 +24,8 @@ "dict2recarray", "get_collection", "get_driver", - "get_meta", "get_instance", + "get_meta", "get_triplestore", "update_collection", "update_dict",