Skip to content

fix: add Python .gitignore when generating Cursor commands#154

Open
quannh287 wants to merge 1 commit intonextlevelbuilder:mainfrom
quannh287:fix/python-gitignore
Open

fix: add Python .gitignore when generating Cursor commands#154
quannh287 wants to merge 1 commit intonextlevelbuilder:mainfrom
quannh287:fix/python-gitignore

Conversation

@quannh287
Copy link

Vấn đề

Hi các anh, trong quá trình sử dụng thư viện, em nhận thấy khi thêm commands vào Cursor thì .gitignore chưa được tạo. Điều này có thể dẫn đến việc commit nhầm các file cache sinh ra trong quá trình chạy Python.
Vì vậy, em xin bổ sung phần .gitignore cho Python để cải thiện trải nghiệm sử dụng và giữ repository gọn gàng hơn.

Giải pháp

Pull Request này bổ sung template .gitignore chuẩn cho Python vào luồng generate commands:

# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants