Cursor-rules
PromptBeginner5 minmarkdown
Repo rules
- This provisioning code is designed to run on Manjaro Linux.
4
**ALWAYS use `uv` to run Python code, NOT `python` or `python3`!**
Loading actions...
- This provisioning code is designed to run on Manjaro Linux.
Project Summary:
This guide outlines the project structure and provides step-by-step instructions for setting up the Geometry Tutor application.
ALWAYS use uv to run Python code, NOT python or python3!
uv run <script.py>uv run -m <module>uv run python <script.py> (if explicitly needed)python <script.py>python3 <script.py>python src/fastled/cli.py, use uv run src/fastled/cli.pypython -m pytest, use uv run -m pytestpython3 build_exe.py, use uv run build_exe.pyuv for Python package and environment managementpython or python3 directly may use the wrong Python version or miss dependenciesuv ensures consistent execution with the project's specified Python version and dependenciesbash testuv run prefix for any Python commandsuv for all Python executionuvuv add <package>uv run <script>ALWAYS use the EMO() function for emojis, NEVER hardcode emojis directly!
from fastled.emoji_util import EMO then EMO('⚠️', 'WARNING:')from fastled.emoji_util import safe_print for Unicode-safe printingprint("⚠️ Warning")EMO('⚠️', 'WARNING:')EMO('✅', 'SUCCESS:')EMO('❌', 'ERROR:')EMO('ℹ️', 'INFO:')EMO('🎭', '*')EMO('📦', '*')EMO() function provides fallback text for systems that don't support emojis# Good - with EMO function
from fastled.emoji_util import EMO
print(f"{EMO('⚠️', 'WARNING:')} Debug mode detected with Playwright installed")
# Bad - hardcoded emoji
print("⚠️ Debug mode detected with Playwright installed")
uv runuv run in the scriptuv run syntaxpython or python3 to use uv runEMO() function