]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commitdiff
still more path reprs
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 21 May 2025 13:47:01 +0000 (09:47 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 21 May 2025 13:47:01 +0000 (09:47 -0400)
Change-Id: Ic4d0a3a62586be58461f1c688c7247d4b570aaf6

alembic/command.py
pyproject.toml

index 4d4a60f6935c685037241ba3912109198b64ca65..6080f3639c68d1152ae87815db60ed15a686046e 100644 (file)
@@ -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",
                         )
index 3f94dbb86c61e840bf8c279a41db9f7e904580c2..7c648165a7a2d548c4814b9b2f02af2abe9a6efc 100644 (file)
@@ -113,3 +113,4 @@ module = [
 ]
 ignore_missing_imports = true
 
+