What it does
A Cursor rules file for Python projects. It sets a clear project structure, environment-based configuration, error handling and logging, and requires typing annotations and docstrings on every function. Tests use pytest only, with dependencies managed by uv and style checked by Ruff.
Use cases
- 01Add type annotations and docstrings to a module
- 02Write pytest tests under a tests folder
- 03Set up CI with GitHub Actions or GitLab CI