From 4c2705c15eddc8b919b9dd89759dbb73eb6e88be Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Wed, 21 May 2025 09:47:01 -0400 Subject: [PATCH] still more path reprs Change-Id: Ic4d0a3a62586be58461f1c688c7247d4b570aaf6 --- alembic/command.py | 4 ++-- pyproject.toml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/alembic/command.py b/alembic/command.py index 4d4a60f6..6080f363 100644 --- a/alembic/command.py +++ b/alembic/command.py @@ -122,7 +122,7 @@ def init( config_file = pathlib.Path(config.config_file_name).absolute() if config_file.exists(): util.msg( - f"File {config_file!r} already exists, skipping", + f"File {config_file} already exists, skipping", **config.messaging_opts, ) else: @@ -143,7 +143,7 @@ def init( if "tool" in toml_data and "alembic" in toml_data["tool"]: util.msg( - f"File {config.toml_file_name!r} already exists " + f"File {toml_path} already exists " "and already has a [tool.alembic] section, " "skipping", ) diff --git a/pyproject.toml b/pyproject.toml index 3f94dbb8..7c648165 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -113,3 +113,4 @@ module = [ ] ignore_missing_imports = true + -- 2.47.3