From: Mike Bayer Date: Wed, 21 May 2025 13:47:01 +0000 (-0400) Subject: still more path reprs X-Git-Tag: rel_1_16_0~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4c2705c15eddc8b919b9dd89759dbb73eb6e88be;p=thirdparty%2Fsqlalchemy%2Falembic.git still more path reprs Change-Id: Ic4d0a3a62586be58461f1c688c7247d4b570aaf6 --- 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 +