You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CLAUDE.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,26 +4,26 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
4
4
5
5
## Development Commands
6
6
7
-
### Package Management in the top level repo
8
-
- Use `rye` for dependency management (preferred)
7
+
### Package Management
8
+
- Use `uv` for dependency management
9
9
- Run `./scripts/bootstrap` to set up the environment
10
-
- Or use `rye sync --all-features` directly
10
+
- Or use `uv sync --all-extras --group dev` directly
11
11
12
-
Special note: the individual tutorials maintain their own tutorial specific virtualenv using `uv`. So when testing/running tutorials, you`uv run` instead of `rye run`. Everything else is similar.
12
+
Both the main repo and individual tutorials use`uv` for consistency.
13
13
14
14
#### Testing
15
-
- Run tests: `rye run pytest` or `./scripts/test`
16
-
- Run specific test: `rye run pytest path/to/test_file.py::TestClass::test_method -v`
15
+
- Run tests: `uv run pytest` or `./scripts/test`
16
+
- Run specific test: `uv run pytest path/to/test_file.py::TestClass::test_method -v`
17
17
- Mock server is automatically started for tests, runs on port 4010
18
18
19
19
#### Linting and Formatting
20
-
- Format code: `rye run format` or `./scripts/format`
21
-
* The repository is still in flux, so running format might accidentally change files that aren't part of your scope of changes. So always run `run rye format` with additional arguments to constrain the formatting to the files that you are modifying.
22
-
- Lint code: `rye run lint` or `./scripts/lint`
23
-
- Type check: `rye run typecheck` (runs both pyright and mypy)
20
+
- Format code: `uv run task format` or `./scripts/format`
21
+
* The repository is still in flux, so running format might accidentally change files that aren't part of your scope of changes. So always run `uv run task format` with additional arguments to constrain the formatting to the files that you are modifying.
22
+
- Lint code: `uv run task lint` or `./scripts/lint`
23
+
- Type check: `uv run task typecheck` (runs both pyright and mypy)
24
24
25
25
### Building and Running
26
-
- Build package: `rye build`
26
+
- Build package: `uv build`
27
27
28
28
29
29
@@ -89,5 +89,5 @@ Most SDK code is auto-generated. Manual changes are preserved in:
0 commit comments