-
Notifications
You must be signed in to change notification settings - Fork 0
🧹 Remove commented-out code in cardSettings test #457
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| import subprocess | ||
| import os | ||
|
|
||
| branch_name = "fix/remove-commented-code" | ||
| commit_message = "chore: remove commented out code in cardSettings.test.ts" | ||
| title = "🧹 Remove commented-out code in cardSettings test" | ||
| description = """🎯 **What:** Removed commented out code `// Remove window from global object to simulate SSR environment` in `src/lib/__tests__/cardSettings.test.ts`. | ||
| 💡 **Why:** Commented out codes generally serve no purpose and pollute codebase. | ||
| ✅ **Verification:** Ran test suite to ensure tests still pass. | ||
| ✨ **Result:** Cleaner codebase without dead code comments.""" | ||
|
|
||
| subprocess.run(["git", "push", "origin", branch_name]) | ||
| subprocess.run(["gh", "pr", "create", "--title", title, "--body", description, "--head", branch_name]) | ||
|
Comment on lines
+1
to
+13
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This Python script appears to be a tool used for automating the submission of this pull request. It does not seem to be part of the application's source code and was likely included in the commit by mistake. This file should be removed from the pull request to keep the codebase clean and focused on application logic. |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
patch_submit.pyは Jules(Google のAIコーディングアシスタント)がこの PR を作成するために使用した一時的なスクリプトであり、リポジトリに含める必要はありません。このファイルがmainにマージされると、本番コードベースに無関係なスクリプトが永続的に残ることになります。「コメントアウトされたコードを除去してコードベースをクリーンに保つ」という PR の目的とも矛盾しています。このファイルはマージ前に削除してください。Prompt To Fix With AI
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!