File tree Expand file tree Collapse file tree 3 files changed +6
-9
lines changed
Expand file tree Collapse file tree 3 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -2505,7 +2505,7 @@ def agent_info(
25052505 if resolved .source == "catalog" :
25062506 source_display = f"catalog — { resolved .path } "
25072507 elif resolved .source == "embedded" :
2508- source_display = f "embedded (bundled in specify-cli wheel)"
2508+ source_display = "embedded (bundled in specify-cli wheel)"
25092509
25102510 info_table .add_row ("Source" , source_display )
25112511 if resolved .overrides :
@@ -2871,8 +2871,8 @@ def agent_add(
28712871 console .print (f"[green]✓[/green] Installed '{ manifest .id } ' ({ manifest .name } ) from { source } " )
28722872 else :
28732873 # Catalog fetch — placeholder for future catalog integration
2874- console .print (f "[yellow]Catalog fetch not yet implemented.[/yellow]" )
2875- console .print (f "[dim]Use --from <path> to install from a local directory.[/dim]" )
2874+ console .print ("[yellow]Catalog fetch not yet implemented.[/yellow]" )
2875+ console .print ("[dim]Use --from <path> to install from a local directory.[/dim]" )
28762876 raise typer .Exit (1 )
28772877
28782878
Original file line number Diff line number Diff line change @@ -563,7 +563,7 @@ def remove_tracked_files(
563563 modified = check_modified_files (project_path , agent_id )
564564 if modified :
565565 raise AgentFileModifiedError (
566- f "The following agent files have been modified since installation:\n "
566+ "The following agent files have been modified since installation:\n "
567567 + "\n " .join (f" { p } " for p in modified )
568568 + "\n Use --force to remove them anyway."
569569 )
Original file line number Diff line number Diff line change 55"""
66
77import json
8- import shutil
98import textwrap
109from pathlib import Path
1110
2221 AgentPackError ,
2322 ManifestValidationError ,
2423 PackResolutionError ,
25- ResolvedPack ,
2624 _manifest_path ,
2725 _sha256 ,
2826 check_modified_files ,
@@ -548,9 +546,8 @@ def test_each_embedded_pack_validates(self):
548546 manifest_file = child / MANIFEST_FILENAME
549547 if not manifest_file .is_file ():
550548 continue
551- # Should not raise
552- warnings = validate_pack (child )
553- # Warnings are acceptable; hard errors are not
549+ # Should not raise — warnings are acceptable; hard errors are not
550+ validate_pack (child )
554551
555552
556553# ===================================================================
You can’t perform that action at this time.
0 commit comments