pre-commit: Bump versions

Change-Id: I5c333a486ca11246ce5aebb2fabc3624a7534267
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
Stephen Finucane
2025-11-04 16:14:05 +00:00
parent 324af749bb
commit 6c1e8cda78
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
--- ---
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0 rev: v6.0.0
hooks: hooks:
# whitespace # whitespace
- id: trailing-whitespace - id: trailing-whitespace
@@ -59,7 +59,7 @@ repos:
args: ['--ignore-words=doc/dictionary.txt'] args: ['--ignore-words=doc/dictionary.txt']
- repo: https://github.com/pre-commit/mirrors-mypy - repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.15.0 rev: v1.18.2
hooks: hooks:
- id: mypy - id: mypy
additional_dependencies: additional_dependencies:
@@ -94,7 +94,7 @@ repos:
) )
- repo: https://github.com/sphinx-contrib/sphinx-lint - repo: https://github.com/sphinx-contrib/sphinx-lint
rev: v1.0.0 rev: v1.0.1
hooks: hooks:
- id: sphinx-lint - id: sphinx-lint
args: [--enable=default-role] args: [--enable=default-role]
+1 -1
View File
@@ -171,7 +171,7 @@ def _create_x509_openssl_config(conffile: str, upn: str):
def ensure_vtpm_secret( def ensure_vtpm_secret(
context: nova_context.RequestContext, context: nova_context.RequestContext,
instance: 'objects.Instance', instance: 'objects.Instance',
) -> ty.Tuple[str, str]: ) -> ty.Tuple[str, bytes]:
"""Communicates with the key manager service to retrieve or create a secret """Communicates with the key manager service to retrieve or create a secret
for an instance's emulated TPM. for an instance's emulated TPM.