Skip to content

Commit aab6b10

Browse files
committed
Use uv as the python package manager, #46.
1 parent 7d10d1c commit aab6b10

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.cursorrules

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,15 +90,12 @@ If needed, you can further use the `web_scraper.py` file to scrape the web page
9090

9191
## User Specified Lessons
9292

93-
- You have a python venv in ./venv. Use it.
94-
- Include info useful for debugging in the program output.
95-
- Read the file before you try to edit it.
93+
- You have a python venv in ./venv. Always use (activate) it when doing python development. If you don't see `(venv)` in the command line, it means it wasn't activated. It's a `uv` venv, so use `uv pip install` to install packages. If you find `uv` was not installed, consult https://docs.astral.sh/uv/getting-started/installation/ to install it.
9694
- Due to Cursor's limit, when you use `git` and `gh` and need to submit a multiline commit message, first write the message in a file, and then use `git commit -F <filename>` or similar command to commit. And then remove the file. Include "[Cursor] " in the commit message and PR title.
9795

9896
## Cursor learned
9997

10098
- For search results, ensure proper handling of different character encodings (UTF-8) for international queries
101-
- Add debug information to stderr while keeping the main output clean in stdout for better pipeline integration
10299
- When using seaborn styles in matplotlib, use 'seaborn-v0_8' instead of 'seaborn' as the style name due to recent seaborn version changes
103100
- Use 'gpt-4o' as the model name for OpenAI's GPT-4 with vision capabilities
104101
- When searching for recent news, use the current year (2025) instead of previous years, or simply use the "recent" keyword to get the latest information

0 commit comments

Comments
 (0)