What it does
A Cursor rules file that describes how to organize a Python project. It covers separate folders for source, tests, docs and config, modular code, environment variables, error handling with logging, pytest, docstrings, Rye and Ruff, and CI/CD with GitHub Actions or GitLab CI.
Use cases
- 01Set up a new Python project with a clear folder structure
- 02Add logging and error context to existing code
- 03Create a CI pipeline that runs tests on every push