Skip to content

Commit 471036e

Browse files
committed
Fix CI: exclude French docs from typos, install uv for ACP tests, format acp_logger
1 parent e7c7708 commit 471036e

5 files changed

Lines changed: 20 additions & 3 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ jobs:
8181
- name: Install ripgrep
8282
run: sudo apt-get update && sudo apt-get install -y ripgrep
8383

84+
- name: Install uv
85+
uses: astral-sh/setup-uv@v3
86+
8487
- name: Run tests
8588
run: pytest --ignore tests/snapshots
8689

‎.typos.toml‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,19 @@
1+
[files]
2+
extend-exclude = [
3+
"ACCESSIBILITE.md",
4+
"ARCHITECTURE.md",
5+
"COMMANDES.md",
6+
"README.md",
7+
"SECURITE.md",
8+
"albert-code.sh",
9+
"albert-code.bat",
10+
]
11+
112
[default]
213
extend-ignore-re = ["(?m)^.*(#|//)\\s*typos:disable-line$", "datas"]
314

415
[default.extend-words]
516
iterm = "iterm"
617
ITERM = "ITERM"
718
asend = "asend"
19+
ype = "ype"

‎CHANGELOG.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
210210
- Bumped agent-client-protocol to 0.7.1
211211
- Refactored UI to require AgentLoop at VibeApp construction
212212
- Updated README with new MCP server config
213-
- Improved readability of the AskUserQuerstion tool output
213+
- Improved readability of the AskUserQuestion tool output
214214

215215
### Fixed
216216

‎albert_code/acp/acp_logger.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121

2222
ACP_LOGGING_ENABLED_KEY = "VIBE_ACP_LOGGING_ENABLED"
2323

24-
_session_cache: TTLCache[int | str, str] = TTLCache[int | str, str](maxsize=1000, ttl=3600)
24+
_session_cache: TTLCache[int | str, str] = TTLCache[int | str, str](
25+
maxsize=1000, ttl=3600
26+
)
2527
_current_session: str | None = None
2628
_logger: logging.Logger | None = None
2729

‎albert_code/core/llm/backend/generic.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ def _parse_retry_after_from_body(body: str) -> float | None:
363363

364364

365365
def _parse_retry_after(value: str) -> float | None:
366-
"""Parse a Retry-After header. Returns seconds, or None if unparseable.
366+
"""Parse a Retry-After header. Returns seconds, or None if unparsable.
367367
368368
Per RFC 7231, the value may be either a non-negative integer (seconds)
369369
or an HTTP-date.

0 commit comments

Comments
 (0)