cli: Bump ruff version to 0.12 (#31864)

This commit is contained in:
Christophe Bornet
2025-07-05 23:15:24 +02:00
committed by GitHub
parent df5cc024fd
commit 46fe09f013
3 changed files with 48 additions and 40 deletions

View File

@@ -216,7 +216,7 @@ def add(
destination_path = package_dir / inner_api_path
if destination_path.exists():
typer.echo(
f"Folder {str(inner_api_path)} already exists. " "Skipping...",
f"Folder {str(inner_api_path)} already exists. Skipping...",
)
continue
copy_repo(source_path, destination_path)
@@ -255,7 +255,7 @@ def add(
chain_names = []
for e in installed_exports:
original_candidate = f'{e["package_name"].replace("-", "_")}_chain'
original_candidate = f"{e['package_name'].replace('-', '_')}_chain"
candidate = original_candidate
i = 2
while candidate in chain_names: