Skip to content

Commit 8020794

Browse files
committed
fix: resolve PR1690 ruff syntax regression
1 parent a08070f commit 8020794

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1515
- Changed Copilot file extension from `.md` to `.agent.md` in `CommandRegistrar.AGENT_CONFIGS` so Copilot recognizes agent files
1616
- Added generation of companion `.prompt.md` files in `.github/prompts/` during extension command registration, matching the release packaging behavior
1717
- Added cleanup of `.prompt.md` companion files when removing extensions via `specify extension remove`
18-
18+
- Fixed a syntax regression in `src/specify_cli/__init__.py` in `_build_ai_assistant_help()` that broke `ruff` and `pytest` collection in CI.
1919
## [0.1.12] - 2026-03-02
2020

2121
### Changed

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,3 @@ precision = 2
5151
show_missing = true
5252
skip_covered = false
5353

54-

src/specify_cli/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ def _build_ai_assistant_help() -> str:
278278

279279
alias_phrases = []
280280
for alias, target in sorted(AI_ASSISTANT_ALIASES.items()):
281-
alias_phrases.append(f\"'{alias}' as an alias for '{target}'\")
281+
alias_phrases.append(f"'{alias}' as an alias for '{target}'")
282282

283283
if len(alias_phrases) == 1:
284284
aliases_text = alias_phrases[0]

0 commit comments

Comments
 (0)