Merge "pre-commit: Bump linter versions"

This commit is contained in:
Zuul
2023-12-21 05:33:02 +00:00
committed by Gerrit Code Review
2 changed files with 4 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ default_language_version:
python: python3
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: mixed-line-ending
@@ -37,12 +37,12 @@ repos:
- id: autopep8
files: '^.*\.py$'
- repo: https://github.com/codespell-project/codespell
rev: v2.2.4
rev: v2.2.6
hooks:
- id: codespell
args: ['--ignore-words=doc/dictionary.txt']
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.4.1
rev: v1.7.1
hooks:
- id: mypy
additional_dependencies:

View File

@@ -9345,7 +9345,7 @@ class ComputeManager(manager.Manager):
# _post_live_migration_remove_source_vol_connections() to clean up
# source volume connections and prevent potential data leaks. We
# therefore activate the port bindings in a try block, and, regardless
# of any expcetions during that process, clean up volume connections in
# of any exceptions during that process, clean up volume connections in
# a finally block.
try:
# NOTE(artom) At this point in time we have not bound the ports to