Open
Conversation
This commit refactors the GitHub unfollow script to improve its usability and robustness. It introduces command-line arguments for better control over the script's behavior, including dry-run mode, limiting unfollows, and excluding specific users. The setup script is also enhanced to provide more flexibility in Python interpreter selection and virtual environment management. Co-authored-by: e-nicko <e-nicko@ya.ru>
|
Cursor Agent can help with this pull request. Just |
Owner
Author
|
@cursoragent wow, gj, tnx~ |
|
I can definitely help you with that! To get started, could you please share the script you'd like to improve? Once I have the script, I can offer suggestions on how to make it better. Learn more about Cursor Agents |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Harden
setup_venv.shfor cross-platform, idempotent venv creation and enhancegithub_unfollow.pywith CLI flags, dry-run, and safer error handling.The
setup_venv.shscript now supports idempotent virtual environment creation, cross-platform compatibility, and configurable options via CLI flags, removing the reliance on manual activation for installation. Thegithub_unfollow.pyscript has been improved with a default dry-run mode, command-line arguments for filtering and limiting unfollow actions, robust error handling, and structured logging, making it safer and more flexible to use.