From 7116d8e5f1c0117db3ce91c6d08a43a93f965dc2 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Fri, 15 Dec 2023 10:38:33 +0000 Subject: [PATCH] pre-commit: Bump linter versions Change-Id: I6825266702a7a4626b0c80bebdcb83cbb43849ea Signed-off-by: Stephen Finucane --- .pre-commit-config.yaml | 6 +++--- nova/compute/manager.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a9109e454363..65c6d54f686e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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: diff --git a/nova/compute/manager.py b/nova/compute/manager.py index 6f91f40725d8..ecc01ad7c3eb 100644 --- a/nova/compute/manager.py +++ b/nova/compute/manager.py @@ -9344,7 +9344,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