From 5577a312321be1fd88161207cee0a5a7dad6f376 Mon Sep 17 00:00:00 2001 From: Lucas Liu Date: Wed, 14 May 2025 11:35:31 +0800 Subject: [PATCH 1/2] add .cursorrules --- Python.gitignore | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Python.gitignore b/Python.gitignore index 0a197900..f5fd27f8 100644 --- a/Python.gitignore +++ b/Python.gitignore @@ -172,3 +172,9 @@ cython_debug/ # PyPI configuration file .pypirc + +# Cursor +# Cursor is a code editor integrated with LLM. `.cursorrules` is its project-level configuration file, +# refer to https://docs.cursor.com/context/rules, which is used to customize the code generation rules of AI +.cursorrules +.cursor/rules \ No newline at end of file From a642376bb2baca1742c7061e47d9386dd18ade0c Mon Sep 17 00:00:00 2001 From: Lucas Liu Date: Thu, 15 May 2025 09:10:29 +0800 Subject: [PATCH 2/2] add .cursorignore --- Python.gitignore | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Python.gitignore b/Python.gitignore index f5fd27f8..dd15ec48 100644 --- a/Python.gitignore +++ b/Python.gitignore @@ -173,8 +173,9 @@ cython_debug/ # PyPI configuration file .pypirc -# Cursor -# Cursor is a code editor integrated with LLM. `.cursorrules` is its project-level configuration file, -# refer to https://docs.cursor.com/context/rules, which is used to customize the code generation rules of AI -.cursorrules -.cursor/rules \ No newline at end of file +# Cursor +# Cursor is an AI-powered code editor.`.cursorignore` specifies files/directories to +# exclude from AI features like autocomplete and code analysis. Recommended for sensitive data +# refer to https://docs.cursor.com/context/ignore-files +.cursorignore +.cursorindexingignore \ No newline at end of file