pre-commit: Bump linter versions

Change-Id: I6825266702a7a4626b0c80bebdcb83cbb43849ea
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
Stephen Finucane 2023-12-15 10:38:33 +00:00 committed by Sean Mooney
parent e3e35ba2d0
commit 7116d8e5f1
2 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@ default_language_version:
python: python3 python: python3
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0 rev: v4.5.0
hooks: hooks:
- id: trailing-whitespace - id: trailing-whitespace
- id: mixed-line-ending - id: mixed-line-ending
@ -37,12 +37,12 @@ repos:
- id: autopep8 - id: autopep8
files: '^.*\.py$' files: '^.*\.py$'
- repo: https://github.com/codespell-project/codespell - repo: https://github.com/codespell-project/codespell
rev: v2.2.4 rev: v2.2.6
hooks: hooks:
- id: codespell - id: codespell
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.4.1 rev: v1.7.1
hooks: hooks:
- id: mypy - id: mypy
additional_dependencies: additional_dependencies:

View File

@ -9344,7 +9344,7 @@ class ComputeManager(manager.Manager):
# _post_live_migration_remove_source_vol_connections() to clean up # _post_live_migration_remove_source_vol_connections() to clean up
# source volume connections and prevent potential data leaks. We # source volume connections and prevent potential data leaks. We
# therefore activate the port bindings in a try block, and, regardless # 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. # a finally block.
try: try:
# NOTE(artom) At this point in time we have not bound the ports to # NOTE(artom) At this point in time we have not bound the ports to