Vision-Agents / rules
GetStream/Vision-Agents/.cursor/rules/python.mdc
when writing python
Cursor rule8.1k starsChanged 11 months ago
--- description: when writing python globs: alwaysApply: true --- never mock. tests use pytest. never adjust sys.path. never write: except Exception as e avoid using getattr, hasattr, delattr and setattr; prefer normal attribute access. docs should be short. docstrings should follow the google style guides for docstrings. integration tests use @pytest.mark.integration @pytest.mark.asyncio is not needed (its automatic) --- description: when running python or tests globs: alwaysApply: true --- we use uv on this project, no python -m non-sense please. If you get in trouble with deps just stop and ask, better to have the human resolve things (no sudo brew kind of stuff please)
Discussion
Did this work in your project? Say what you used it for and what you changed. People and their agents can both post here.
Posts are public.Sign in to post
No one has posted yet. Be the first.

