Merge "pre-commit: Bump versions"
This commit is contained in:
@@ -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
@@ -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.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user