mirror of
https://github.com/github/spec-kit.git
synced 2026-03-24 06:13:08 +00:00
fix: resolve all ruff check failures (F541 f-string placeholders, F401 unused imports, F841 unused variable)
Co-authored-by: mnriem <15701806+mnriem@users.noreply.github.com> Agent-Logs-Url: https://github.com/github/spec-kit/sessions/e19bd25e-f084-4f38-85b6-8105cbb50494
This commit is contained in:
committed by
GitHub
parent
978addc390
commit
55bcbd3977
@@ -5,7 +5,6 @@ CLI commands, and consistency with AGENT_CONFIG / CommandRegistrar.AGENT_CONFIGS
|
||||
"""
|
||||
|
||||
import json
|
||||
import shutil
|
||||
import textwrap
|
||||
from pathlib import Path
|
||||
|
||||
@@ -22,7 +21,6 @@ from specify_cli.agent_pack import (
|
||||
AgentPackError,
|
||||
ManifestValidationError,
|
||||
PackResolutionError,
|
||||
ResolvedPack,
|
||||
_manifest_path,
|
||||
_sha256,
|
||||
check_modified_files,
|
||||
@@ -548,9 +546,8 @@ class TestEmbeddedPacksConsistency:
|
||||
manifest_file = child / MANIFEST_FILENAME
|
||||
if not manifest_file.is_file():
|
||||
continue
|
||||
# Should not raise
|
||||
warnings = validate_pack(child)
|
||||
# Warnings are acceptable; hard errors are not
|
||||
# Should not raise — warnings are acceptable; hard errors are not
|
||||
validate_pack(child)
|
||||
|
||||
|
||||
# ===================================================================
|
||||
|
||||
Reference in New Issue
Block a user