Skip to content

Commit 2f8ae4c

Browse files
committed
doc: update AGENTS.md
1 parent 77e7c5c commit 2f8ae4c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

AGENTS.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,12 @@
44

55
- Lint & format: `ruff check --fix && ruff format`
66
- Type checking: `ty check <dir_or_file>`
7-
- Run tests: `pytest`
7+
- Run tests: `uv run pytest`
88

99
## Code Style Guidelines
1010

1111
- Python: 3.12+ required
12-
- Imports & Formatting: use ruff
1312
- Types: Full type annotations required, use `lsp_client.utils.types.lsp_type` for standard LSP types
14-
- Error handling: Use tenacity for retries, `anyio.fail_after` for timeouts
13+
- Error handling: Must use concrete exception types
1514
- Async: Use async/await, `asyncer.TaskGroup` for concurrency
16-
- Structure: Follow capability-based protocol pattern in capability/ module
15+
- Structure: Follow capability-based protocol pattern in `capability/` module

0 commit comments

Comments
 (0)