Skip to content

Commit f770022

Browse files
committed
doc: update AGENTS.md
1 parent 8faa3dd commit f770022

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

AGENTS.md

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

55
- Lint & format: `ruff check --fix && ruff format`
66
- Type checking: `mypy src/`
7-
- Run all tests: `pytest`
8-
- Run single test: `pytest path/to/test.py::test_function`
9-
- Run integration tests: `pytest -m integration`
10-
- Run pyright tests: `pytest -m pyright`
7+
- Run tests: `pytest`
118

129
## Code Style Guidelines
1310

14-
- Python: 3.12+ required, use `from __future__ import annotations`
15-
- Imports: Use isort (handled by ruff), group stdlib, third-party, local imports
16-
- Formatting: Double quotes, space indentation (handled by ruff format)
17-
- Types: Full type annotations required, use `lsp_type` alias for LSP types
18-
- Naming: snake_case for variables/functions, PascalCase for classes
19-
- Error handling: Use tenacity for retries, anyio.fail_after for timeouts
20-
- Async: Use async/await, asyncer.TaskGroup for concurrency
21-
- Structure: Follow capability-based protocol pattern in capability/ module
11+
- Python: 3.12+ required
12+
- Imports & Formatting: use ruff
13+
- 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
15+
- Async: Use async/await, `asyncer.TaskGroup` for concurrency
16+
- Structure: Follow capability-based protocol pattern in capability/ module

0 commit comments

Comments
 (0)