diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0dd9cca6..7fe59963 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: 'v0.4.3' + rev: 'v0.4.4' hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] diff --git a/bumpversion/show.py b/bumpversion/show.py index fca1a234..14ac828a 100644 --- a/bumpversion/show.py +++ b/bumpversion/show.py @@ -102,7 +102,7 @@ def resolve_name(obj: Any, name: str, default: Any = None, err_on_missing: bool ): # un-subscript-able object return default return current - except Exception as e: # noqa: BLE001 # pragma: no cover + except Exception as e: # pragma: no cover if err_on_missing: raise BadInputError(f"Could not resolve '{name}'") from e else: