Skip to content

Commit 3415127

Browse files
committed
Move new topics into Advanced file
1 parent fd128d8 commit 3415127

File tree

5 files changed

+580
-162
lines changed

5 files changed

+580
-162
lines changed

.claude/settings.local.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"permissions": {
3+
"allow": [
4+
"Bash(cat:*)",
5+
"Bash(uv run:*)",
6+
"Bash(find:*)",
7+
"Bash(git add:*)",
8+
"Bash(gh pr view:*)",
9+
"Bash(gh pr diff:*)",
10+
"WebFetch(domain:github.com)",
11+
"WebFetch(domain:docs.trychroma.com)",
12+
"WebFetch(domain:python.langchain.com)",
13+
"Bash(gh api:*)"
14+
],
15+
"deny": [],
16+
"ask": []
17+
}
18+
}

CLAUDE.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Claude Code Instructions
2+
3+
This is a `uv` project for Python package management. Use `uv run` instead of regular `python` commands.
4+
5+
## Running Commands
6+
7+
### Python Scripts
8+
9+
```bash
10+
# Instead of: python script.py
11+
uv run python script.py
12+
13+
# Instead of: python -m module
14+
uv run python -m module
15+
```
16+
17+
### Tests
18+
19+
```bash
20+
# Run all tests
21+
uv run python -m pytest
22+
23+
# Run specific test file
24+
uv run python -m pytest tests/teleprompt/test_gepa_image.py
25+
26+
# Run with verbose output
27+
uv run python -m pytest tests/teleprompt/test_gepa_image.py -v
28+
29+
# Run specific test function
30+
uv run python -m pytest tests/teleprompt/test_gepa_image.py::test_basic_gepa_with_image_classification -v
31+
```
32+
33+
### Installing Dependencies
34+
35+
```bash
36+
# Install project dependencies
37+
uv sync
38+
39+
# Add new dependency
40+
uv add package_name
41+
42+
# Add development dependency
43+
uv add --dev package_name
44+
```
45+
46+
### Environment
47+
48+
```bash
49+
# Run commands directly with uv run (no need to activate any virtual environment)
50+
uv run python -c "print('Hello World')"
51+
```
52+
53+
### Interacting with Github
54+
55+
Use the `gh` command to interact with Github.

0 commit comments

Comments
 (0)