Skip to content
Prev Previous commit
fix: resolve PR1690 ruff syntax regression
  • Loading branch information
medhatgalal committed Mar 3, 2026
commit 80207945472c97cba698a1a35e2c5f36b7cae1d3
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Changed Copilot file extension from `.md` to `.agent.md` in `CommandRegistrar.AGENT_CONFIGS` so Copilot recognizes agent files
- Added generation of companion `.prompt.md` files in `.github/prompts/` during extension command registration, matching the release packaging behavior
- Added cleanup of `.prompt.md` companion files when removing extensions via `specify extension remove`

- Fixed a syntax regression in `src/specify_cli/__init__.py` in `_build_ai_assistant_help()` that broke `ruff` and `pytest` collection in CI.
## [0.1.12] - 2026-03-02

### Changed
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,3 @@ precision = 2
show_missing = true
skip_covered = false


2 changes: 1 addition & 1 deletion src/specify_cli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ def _build_ai_assistant_help() -> str:

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

if len(alias_phrases) == 1:
aliases_text = alias_phrases[0]
Expand Down