+
Skip to content

Add Cursor editor ignore files to Python.gitignore #4633

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 15, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Python.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -172,3 +172,10 @@ cython_debug/

# PyPI configuration file
.pypirc

# Cursor
# Cursor is an AI-powered code editor.`.cursorignore` specifies files/directories to
Comment on lines +176 to +177

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: extra and missing whitespace

Suggested change
# Cursor
# Cursor is an AI-powered code editor.`.cursorignore` specifies files/directories to
# 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
Copy link

@covracer covracer May 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing the end-of-file newline disrupts line counting and concatenation. I hope it can be quickly restored back.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey sorry I missed this in my review @covracer. I'll get a PR together to restore that newline 👍

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载